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

Nested Routing

This page demonstrates the simple structure of nested routing.

In a deep path, the layout.js in each directory gets rendered as a container for everything under it.

Only the page.js in the deepest directory gets rendered as the content. But every layout.js file in every directory of the deep path gets rendered.

Go one level deeper