mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
docs: fix layout meta example (#2835)
This commit is contained in:
parent
6abf75d40a
commit
dfb4f9675b
@ -81,7 +81,7 @@ const route = useRoute()
|
|||||||
function enableCustomLayout () {
|
function enableCustomLayout () {
|
||||||
// Note: because it's within a ref, it will persist if
|
// Note: because it's within a ref, it will persist if
|
||||||
// you navigate away and then back to the page.
|
// you navigate away and then back to the page.
|
||||||
route.layout.value = "custom"
|
route.meta.layout.value = "custom"
|
||||||
}
|
}
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
layout: ref(false),
|
layout: ref(false),
|
||||||
|
Loading…
Reference in New Issue
Block a user