We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackblitz.com/edit/github-yb5amz?file=nuxt.config.ts
When extend pages got type error for NuxtPage type
NuxtPage
type NuxtPage = { name?: string; path: string; file?: string; meta?: Record<string, any>; alias?: string[] | string; redirect?: string; children?: NuxtPage[]; };
Must be
import type { RouteRecordRedirectOption } from 'vue-router' type NuxtPage = { name?: string; path: string; file?: string; meta?: Record<string, any>; alias?: string[] | string; redirect?: RouteRecordRedirectOption; // or another redirect type children?: NuxtPage[]; };
Can I create a pull request for this?
or tell me how it can be fixed more correctly :)
No response
The text was updated successfully, but these errors were encountered:
redirect
Successfully merging a pull request may close this issue.
Environment
Reproduction
https://stackblitz.com/edit/github-yb5amz?file=nuxt.config.ts
Describe the bug
When extend pages got type error for
NuxtPage
typeMust be
Additional context
Can I create a pull request for this?
or tell me how it can be fixed more correctly :)
Logs
No response
The text was updated successfully, but these errors were encountered: