New issue
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
feat(schema): allow adding page routes without a matching file #19173
Conversation
Β Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Type check is (rightly) picking up some issues where we need to confirm that pages do have a file, for example in getSources
and in generating route metadata.
Would you be able to update those places as well to filter out routes without associated files?
Yeah, sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! β€οΈ
I pushed a few refactors to the route generation utility that were unrelated to your work (your implementation was good π) which should hopefully improve the quality of the generated routes.
pages:extend
pages:extend
@danielroe you're welcome, was glad to help β€οΈ |
π Linked issue
#19115
β Type of change
π Description
Resolves #19115
Makes NuxtPage.file optional.
π Checklist