/layout.js @ 1688734135495 [Home]
/app-router/layout.js 0 @ 1688734135620 [Back To App Router]
/app-router/dynamic-routes/layout.js 0 @ 1688734135620
/app-router/dynamic-routes/page.js 0 @ 1688734135620

Dynamic Routes

Directories with the [slug] syntax (where "slug" can be any identifier) capture routes where part of the path is dynamic, like a product id.

The two id-specific pages below are both handled by the same page.js file under the [id] directory.