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