-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Weird behavior with trailingSlash=false and child routes #7823
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
Results for the previous version of Nuxt (2.13.3):
Routes configuration
Notice that in the new version of Nuxt the |
So, with |
@manniL Take a look at https://github.com/nuxt/nuxt.js/pull/6594/files#diff-1288a325a940f45fdc5707e5485c442aR75 When we replace |
In nuxt-edge I think this is the same issue
@manniL this would be the ideal solution. |
I'm not updating Nuxt dependency in |
Thanks for your contribution to Nuxt.js!
Issues that are labeled as |
.. |
Bump, any updates/progress? |
This should be fixed in v2.14.8. Please reopen if not. |
There is still an issue with |
New issue: #8422 |
Versions
Reproduction
https://codesandbox.io/s/nuxt-trailingslash-false-and-child-routes-3etm9?file=/pages/posts.vue
Nuxt configuration
Routes configuration
Directory structure:

Steps to reproduce
With a directory structure like pictured above (where the
posts.vue
parent route contains<router-view>
), navigate to both/posts
and/posts/
.What is Expected?
I'm not sure but possibly the opposite of what is happening right now.
What is actually happening?
/posts
loads theposts/_slug
child route./posts/
loads theposts/index
child route.The text was updated successfully, but these errors were encountered: