Relative Content

Tag Archive for next.jsroutesapp-routernext-routergetstaticprops

How to create custom routes using Next.js’s App router?

I have been using App router because it was recommended at the time of project init. I want a custom route for example base_url/products/product-slug. It is pretty simple using page router, we can have a a file named [slug].js under page/products. But can this be implemented using App router?