DEV Community

Discussion on: Setting up Apollo GraphQL in Next.js with Server Side Rendering.

terchris profile image
Terje Christensen

Thanks for the example.
I have a simple question I can't figure out. How do I set up a [id].js page so that I can use the id to make a query ?

angad777 profile image
Angad Gupta Author

Welcome Terje, You can setup dynamic routing using this :