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({ ...@@ -13,9 +13,7 @@ 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: (name) => { resolveComponent: name => import(`@/Pages/${name}`).then(module => module.default),
return import(`@/Pages/${name}`).then(module => module.default)
},
}, },
}), }),
}).$mount(app) }).$mount(app)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!