We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<NuxtLayout>
(internally discussed within team meeting)
Allow using NuxtLayout directly in app.vue:
NuxtLayout
app.vue
<!-- app.vue --> <NuxtLayout> <NuxtPage/> </NuxtLayout>
For transition support, NuxtPage needs to communicate with layout. For this we can make use of a global layout state:
const layout = useLayout() setLayout('welcome') // Only supported before rendering // Same as useLayout().value = 'welcome'
The limitation is that layout can be only modified before or after rendering lifecycle (in plugins or client-side after mount)
layout
The text was updated successfully, but these errors were encountered:
<NuxtLayer>
defineRouteMeta({})
definePageMeta
<NuxtPage>
nuxt/framework#3011 partially resolved this issue.
Sorry, something went wrong.
danielroe
Successfully merging a pull request may close this issue.
(internally discussed within team meeting)
Allow using
NuxtLayout
directly inapp.vue
:For transition support, NuxtPage needs to communicate with layout. For this we can make use of a global layout state:
The limitation is that
layout
can be only modified before or after rendering lifecycle (in plugins or client-side after mount)The text was updated successfully, but these errors were encountered: