N
Nuxt4mo ago
8l8

how can i change default layout after set default layout in app.vue?

please help me. i want exclude default layout for some page
17 Replies
IsraelOrtuno
IsraelOrtuno4mo ago
just set layout to false
8l8
8l84mo ago
i set layout:false but its not work
IsraelOrtuno
IsraelOrtuno4mo ago
can you show your app.vue and your layouts folder? https://nuxt.com/docs/guide/directory-structure/pages/#layout
8l8
8l84mo ago
No description
8l8
8l84mo ago
the code in app.vue
8l8
8l84mo ago
No description
8l8
8l84mo ago
No description
8l8
8l84mo ago
the code in register.vue
IsraelOrtuno
IsraelOrtuno4mo ago
in your register.vue delete the <NuxtLayout> element, no needed
IsraelOrtuno
IsraelOrtuno4mo ago
Nuxt
layouts/ · Nuxt Directory Structure
Nuxt provides a layouts framework to extract common UI patterns into reusable layouts.
IsraelOrtuno
IsraelOrtuno4mo ago
I would suggest use the default layout for most of your usecases as a convention, so no need to even specify it
8l8
8l84mo ago
can i apply default layout in app.vue for all page then exclude for some page to use other layout on them? i solved my trouble need rename layout-1.vue to default.vu a last question can i add alias header title for all page? i want that alias put at end of title page
IsraelOrtuno
IsraelOrtuno4mo ago
Nuxt
SEO and Meta · Get Started with Nuxt
Improve your Nuxt app's SEO with powerful head config, composables and components.
IsraelOrtuno
IsraelOrtuno4mo ago
Nuxt
SEO and Meta · Get Started with Nuxt
Improve your Nuxt app's SEO with powerful head config, composables and components.
Want results from more Discord servers?
Add your server