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
As mentioned at issue #119 of vitesse, vite-ssg will generate unnecessary files.
vite-ssg
Using path: '' for children components in a nested router solves this (see docs)
path: ''
With one caveat: when the router has a nested route before using setupLayouts(). So we have to traverse the path ourselves.
setupLayouts()
The text was updated successfully, but these errors were encountered:
I haven't done much with SSG, but I'm happy to merge the PR once you're satisfied with it
Sorry, something went wrong.
If my PR at vite-ssg is accepted this wouldn't be necessary anymore and to merge or not is your esthetical choice.
Technically you can use either: a child component with /exact/same/route/as/parent or an empty string ''. vite-plugin-pages uses the latter.
/exact/same/route/as/parent
''
vite-plugin-pages
Successfully merging a pull request may close this issue.
As mentioned at issue #119 of vitesse,
vite-ssg
will generate unnecessary files.Using
path: ''
for children components in a nested router solves this (see docs)With one caveat: when the router has a nested route before using
setupLayouts()
. So we have to traverse the path ourselves.The text was updated successfully, but these errors were encountered: