Same component for two routes breaks layout
Using Nuxt3 with Client Side rendering.
I have a componentecalled
UserForm.vue
that I use in 2 routes using custom routing like this:
I have set a custom layout inside the component:
But when I navigate to one of the routes, it renders the default.vue
layout instead of the admin one

1 Reply
I'm using the
pages:extend
hook