Vue.component('pagination', function (resolve, reject) { axios.get("components/shared/pagination.html").then(function (response) { resolve(parseModel(response)); }); }); Vue.component('layout', function (resolve, reject) { axios.get("components/shared/layout.html").then(function (response) { resolve(parseModel(response)); }); }); Vue.component('list', function (resolve, reject) { axios.get("components/shared/list.html").then(function (response) { resolve(parseModel(response)); }); }); Vue.component('display', function (resolve, reject) { axios.get("components/shared/display.html").then(function (response) { resolve(parseModel(response)); }); }); Vue.component('update', function (resolve, reject) { axios.get("components/shared/update.html").then(function (response) { resolve(parseModel(response)); }); });