This page is also available as Markdown: request this page's URL with an
Accept: text/markdown header. For an index of Next.js 14 documentation, see /docs/14/llms.txt.You are currently viewing documentation for version 14 of Next.js.
appDir
Last updated August 24, 2023
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.
Was this helpful?