app

The App Router works in a new directory named app. The app directory works alongside the pages directory to allow for incremental adoption. This allows you to opt some routes of your application into the new behavior while keeping other routes in the pages directory for the previous behavior. If your application uses the pages directory, please also see the Pages Router documentation.

Last updated