You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right! That's correct behavior too. That's how I made it work. example
But theoretically [slug]/index.js should work too. That's where I think this should be supported.
If you look at NextJs, they support it too. Cause index.js by default resolved with the folder name.
Describe the problem:
Dynamic routing is not able to fetch params with
[slug]/index.js
.This is what I am doing so far
slug
is undefined in this case whenlocalhost:3000/product
butlocalhost:3000/product/index
is passing the slug.If I look at Nextjs, it does reolve it there.
The text was updated successfully, but these errors were encountered: