Use better variable name
This commit is contained in:
parent
3eba742d13
commit
b83fda83a5
|
@ -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)
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue