feat: add custom metadata type for PageMeta (#2907)

This commit is contained in:
Ao Ito 2024-08-16 23:33:39 +09:00 committed by GitHub
parent 1a8d365779
commit bd7fd961d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,10 @@ declare global {
}
declare module '#app' {
interface PageMeta {
wideLayout?: boolean
}
interface RuntimeNuxtHooks {
'elk-logo:click': () => void
}