From dfb4f9675bd72427cf34844f8cc3a55723626333 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 21 Jan 2022 09:48:48 +0000 Subject: [PATCH] docs: fix layout meta example (#2835) --- docs/content/3.docs/2.directory-structure/6.layouts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.docs/2.directory-structure/6.layouts.md b/docs/content/3.docs/2.directory-structure/6.layouts.md index 01c40f9d18..65112b2b13 100644 --- a/docs/content/3.docs/2.directory-structure/6.layouts.md +++ b/docs/content/3.docs/2.directory-structure/6.layouts.md @@ -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),