generateStaticParams
The child route [slug]/page.tsx exports generateStaticParams returning a fixed list of slugs. The runtime pre-renders one HTML file per entry — the dynamic segment becomes static at build time.
Tip
generateStaticParams runs once at build time: the listed URLs are rendered to static HTML and served without touching V8 per request. Unlisted slugs return a 404 — use a catch-all [...slug] route if you need to handle unknown entries dynamically.