From b83fda83a51155723d6d86a3353b475765bb2685 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Wed, 24 Apr 2019 14:44:11 -0400 Subject: [PATCH] Use better variable name --- resources/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index 5473901..02fa383 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -12,8 +12,8 @@ new Vue({ render: h => h(Inertia, { props: { initialPage: JSON.parse(app.dataset.page), - resolveComponent: (component) => { - return import(`@/Pages/${component}`).then(module => module.default) + resolveComponent: (name) => { + return import(`@/Pages/${name}`).then(module => module.default) }, }, }),