-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Generating nested routes while trailingSlash is true #8165
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
Comments
Can someone please help confirm this bug, and also point me in the right direction for where to fix this. Thanks :) |
@cain +1 Trailing slash are needed for netflify |
Yes! This is a bug! (which is actually is regression, before 2.14.0 it was working fine). Reporting this bug was on my todo list for awhile. Thanks for reporting and opening a pull request! |
This should be fixed in v2.14.8. Please reopen if not. |
I've just upgraded to v.2.14.8 and my nested routes are correctly generated!😃 Thanks everyone for the fix!👍 |
Versions
Reproduction
Visit the link and inside sandbox terminal run:
npm run generate
https://codesandbox.io/s/nuxt-generate-trailing-slash-bug-x7bhd?file=/nuxt.config.js
Steps to reproduce
trailingSlash: true
inside nuxt.confignuxt generate
to generate nested pagesWhat is Expected?
Success generation of nested routes containing trailing slash.
What is actually happening?
The command is failing with error
This page could not be found
and missing trailing slashes on nested routes.Note: the build actually completes without issues, just seems to be the build error.
The text was updated successfully, but these errors were encountered: