diff --git a/resources/js/app.js b/resources/js/app.js index 03347ba..669f02b 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -22,7 +22,7 @@ new Vue({ h(App, { props: { initialPage: JSON.parse(el.dataset.page), - resolveComponent: name => import(`@/Pages/${name}`).then(module => module.default), + resolveComponent: name => require(`./Pages/${name}`).default, }, }), }).$mount(el)