'laravel interiajs layout not rendered after login redirect
iam using laravel + vuejs2 with interiajs i have default layout but after redirecting from laravel controller i lost the layout
my main.js configurations
createInertiaApp({id: 'app',resolve: name => {
const page = require(`./pages/${name}`).default
page.layout = page.layout || App
return page},setup({el, App, props, plugin}) {
Vue.use(plugin).component('InertiaLink', Link)new Vue({
render: h => h(App, props),
}).$mount(el)
},})
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

