I have defined the routes, all of them with parameters. But still, I can access them without parameters. Next-routes is not overriding the routes defined by next. How do I fix this?
Thanks a lot!
If you define the routes without parameters, they will override the original file based routes.
It should soon be possible to disable file based routes completely: https://github.com/zeit/next.js/pull/914
Cool, thanks a lot. :)
following the merge closely. and will help when it is in a stable release of next.js
Most helpful comment
If you define the routes without parameters, they will override the original file based routes.
It should soon be possible to disable file based routes completely: https://github.com/zeit/next.js/pull/914