Making Websites With Next.js And Strapi Episode 6

Dynamic routes

In this episode I'm going to show you how to create simple and then more advanced dynamic routes for your Next.js and Strapi application.

We are going to start by creating a simple dynamic route that is going to fetch our singular data by id. After that I’m going to show you how you can fetch your data by using sluginstead of id so that your singular data has pretty URLs. And lastly we are going to create a bit more complicated routes that is going to include categorisation of our routes.

As you will see this is all pretty easy to do with our Strapi, Next and React stack.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024