Nuxt 3 Layout
In Nuxt 3, I have the following structure in my
For one of my pages, I set the layout to
My main goal is to use a named slot within the
Is this approach valid, or am I doing something wrong?
app.vue:For one of my pages, I set the layout to
false inside the definePageMeta and used the following structure:My main goal is to use a named slot within the
history-details layout. However, if I set layout: "history-details" in definePageMeta, I cannot leverage the named slot. That’s why I am using this structure instead, based on the Nuxt documentation on overriding layouts. Is this approach valid, or am I doing something wrong?
Nuxt
Nuxt provides a layouts framework to extract common UI patterns into reusable layouts.
