Commit 4697d5fa by Jonathan Reinink

Tweak formatting of resolveComponent callback

1 parent 50454a16
Showing with 1 additions and 3 deletions
......@@ -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)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!