mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-29 14:52:41 +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 () {
|
||||
// Note: because it's within a ref, it will persist if
|
||||
// you navigate away and then back to the page.
|
||||
route.layout.value = "custom"
|
||||
route.meta.layout.value = "custom"
|
||||
}
|
||||
definePageMeta({
|
||||
layout: ref(false),
|
||||
|
Loading…
Reference in New Issue
Block a user