Use better variable name
This commit is contained in:
parent
3eba742d13
commit
b83fda83a5
|
@ -12,8 +12,8 @@ new Vue({
|
||||||
render: h => h(Inertia, {
|
render: h => h(Inertia, {
|
||||||
props: {
|
props: {
|
||||||
initialPage: JSON.parse(app.dataset.page),
|
initialPage: JSON.parse(app.dataset.page),
|
||||||
resolveComponent: (component) => {
|
resolveComponent: (name) => {
|
||||||
return import(`@/Pages/${component}`).then(module => module.default)
|
return import(`@/Pages/${name}`).then(module => module.default)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue