Upgrade your application to newer versions of Next.js or migrate from the Pages Router to the App Router.
Use codemods to upgrade your Next.js codebase when new features are released.
App Router Migration
Learn how to upgrade your existing Next.js application from the Pages Router to the App Router.
Migrating from Vite
Learn how to migrate your existing React application from Vite to Next.js.