From bd7fd961d064df5df9a82db1d11d6edccff38b5e Mon Sep 17 00:00:00 2001 From: Ao Ito Date: Fri, 16 Aug 2024 23:33:39 +0900 Subject: [PATCH] feat: add custom metadata type for PageMeta (#2907) --- nuxt.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 56f441a9..ff7d508f 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -333,6 +333,10 @@ declare global { } declare module '#app' { + interface PageMeta { + wideLayout?: boolean + } + interface RuntimeNuxtHooks { 'elk-logo:click': () => void }