diff --git a/resources/js/app.js b/resources/js/app.js index 89d6998..8f27c40 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -13,9 +13,7 @@ new Vue({ render: h => h(Inertia, { props: { initialPage: JSON.parse(app.dataset.page), - resolveComponent: (name) => { - return import(`@/Pages/${name}`).then(module => module.default) - }, + resolveComponent: name => import(`@/Pages/${name}`).then(module => module.default), }, }), }).$mount(app)