Static Site Generation of Dynamic Routes in App Router

77 Views Asked by At

In Next.js 14.X App Router, it seems dynamic routes on static site generation doesn't work, which is working in Page Router. When I build the project, dynamic routes are built as server side routes.

Tried to add export const dynamicParams = true in the page, but it didn't work.

0

There are 0 best solutions below