framework
framework copied to clipboard
`definePageMeta` breaks global middleware
Environment
- Operating System:
Windows_NT - Node Version:
v16.11.0 - Nuxt Version:
3.0.0 - Nitro Version:
1.0.0 - Package Manager:
[email protected] - Builder:
vite - User Config:
extends,app,ssr,css,modules,vite,runtimeConfig,hooks - Runtime Modules:
@pinia/[email protected],@nuxtjs/[email protected],[email protected] - Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-diwnpr?file=pages/[test].vue
Describe the bug
Global middleware not working if subpage has definePageMeta (see in console)
Additional context
No response
Logs
No response