DocumentationShowcaseBlog
Overview
App Router
Pages Router
Architecture
Community
DocumentationShowcaseBlog

appDir

Enable the App Router to use layouts, streaming, and more.

Good to know: This option is no longer needed as of Next.js 13.4. The App Router is now stable.

The App Router (app directory) enables support for layouts, Server Components, streaming, and colocated data fetching.

Using the app directory will automatically enable React Strict Mode. Learn how to incrementally adopt app.