-
I was using next 8 when I installed next-routes to handle these routes. Can I replace it with native next.js nowadays? const Routes = require("next-routes")
const routes = new Routes()
.add("invite", "/invite/:inviteId")
.add("team", "/team/:teamId")
.add("review/master", "/review/master/:reviewMasterId")
.add("user", "/user/:userId")
.add("login")
.add("leaders")
module.exports = routes |
Beta Was this translation helpful? Give feedback.
Answered by
nihiluis
May 25, 2020
Replies: 2 comments 3 replies
-
As I see it's supported by this? https://nextjs.org/docs/routing/dynamic-routes |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nihiluis
-
Yes with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As I see it's supported by this? https://nextjs.org/docs/routing/dynamic-routes