docs: fix layout meta example (#2835)

This commit is contained in:
Daniel Roe 2022-01-21 09:48:48 +00:00 committed by GitHub
parent 6abf75d40a
commit dfb4f9675b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),