We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5732c3 commit 2915b5cCopy full SHA for 2915b5c
src/inertiajs-stubs/resources/js/app.js
@@ -9,8 +9,8 @@ new Vue({
9
render: h => h(Inertia, {
10
props: {
11
initialPage: JSON.parse(app.dataset.page),
12
- resolveComponent: (component) => {
13
- return import(`@/Pages/${component}`).then(module => module.default)
+ resolveComponent: (name) => {
+ return import(`@/Pages/${name}`).then(module => module.default)
14
},
15
16
}),
0 commit comments