From b7921b748f369eac5f6c3924983a4f8d830b5224 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Mon, 10 May 2021 15:34:42 -0400 Subject: [PATCH] Disable code splitting --- resources/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)