Tweak formatting of resolveComponent callback
This commit is contained in:
parent
50454a162a
commit
4697d5fac9
|
@ -13,9 +13,7 @@ new Vue({
|
|||
render: h => h(Inertia, {
|
||||
props: {
|
||||
initialPage: JSON.parse(app.dataset.page),
|
||||
resolveComponent: (name) => {
|
||||
return import(`@/Pages/${name}`).then(module => module.default)
|
||||
},
|
||||
resolveComponent: name => import(`@/Pages/${name}`).then(module => module.default),
|
||||
},
|
||||
}),
|
||||
}).$mount(app)
|
||||
|
|
Loading…
Reference in New Issue