/layout.js @ 1732206458609 [Home]
/app-router/layout.js 0 @ 1732206458675 [Back To App Router]
/app-router/dynamic-routes/layout.js 0 @ 1732206458747
/app-router/dynamic-routes/page.js 0 @ 1732206458747

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.