Skip to main content

appDir

还没翻译译自英文(nextjs.org)本页 4 段都还没译

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.