Documentation
Migrate a Next.js app
Add vinext alongside an existing Next.js setup without rewriting the application.
Migration is non-destructive.
vinext initleaves your Next.js scripts and source files in place, then adds parallel*:vinextscripts for evaluation.
1. Check compatibility
pnpm dlx vinext checkThe scanner reports known unsupported configuration, imports, and project patterns. Also check the compatibility dashboard and open issues for behavior specific to your application.
2. Initialize vinext
pnpm dlx vinext initChoose Cloudflare or Node when prompted. The command installs the required packages, adds ESM and Vite configuration, and creates deployment config for the selected platform.
For a non-interactive run, select the target explicitly:
pnpm dlx vinext init --platform=cloudflare
pnpm dlx vinext init --platform=node3. Run both toolchains
pnpm dev:vinext
pnpm build:vinext
pnpm devCompare the routes and workflows your application depends on. Start with authentication, middleware, mutations, caching, and deployment bindings rather than only checking the home page.