A drop-in replacement for the Next.js CLI that runs on Vite instead of the Next.js custom server. Currently at v0.0.44 (pre-1.0, active development with frequent releases every few days). It reimplements the Next.js API surface on top of Vite, supporting both Pages Router and App Router, with HMR, build, deploy to Cloudflare Workers, and standalone self-host output. Key differentiators: AI-assisted development (Claude Code generated most of the code), tight Cloudflare integration. Caveat: experimental, buggy, and lacks full Next.js compatibility. Requires Node >=22 and Vite 7 or 8.
npm install vinextVerified import paths — ran on the pinned version, not inferred.
Installs vinext and peer dependencies, replaces next CLI with vinext in package.json scripts, and provides CLI usage for dev/build/start.
Upgrade Node to v22 or later.
Set HOST instead of HOSTNAME in your environment/deployment config.
Update deployment to use 'node dist/standalone/server.js' and set PORT/HOST env vars.
Use --help to check current options; prefer manual migration if automated init fails.
Run 'vinext check' before migrating to identify unsupported features.
Run: npm install -D vite@^7.0.0
Run: npm install -D @vitejs/plugin-react@^5.1.4 || ^6.0.0
Upgrade Node.js to v22 or later (e.g., using nvm: nvm install 22)