I've looked around Stackoverflow and the general consensus seems to be adding to my server file.
Though I'm wondering if this is possible with NextJS's dynamic routing.
I'm trying to achieving a route that looks something like this:
/categories/:id/articles/:id
I've tried doing something like this
- pages
- categories
- [id]
- :id.js
- articles
- :id.js
To no avail, so perhaps this wasn't the best approach. Would I be able to achieve something like this without touching the server?