vinext reimplements the Next.js API surface on Vite. Existing app/, pages/, and next.config.js work as-is — migration is a package swap, config generation, and ESM conversion. No changes to application code required.
Confirm next is in dependencies or devDependencies in package.json. If not found, STOP — this skill does not apply.
Detect the router: if an app/ directory exists at root or under src/, it's App Router. If only pages/ exists, it's Pages Router. Both can coexist.
Migriert Next.js-Projekte nach vinext (Vite-basierte Next.js-Neuimplementierung für Cloudflare Workers). Laden, wenn Sie aufgefordert werden, von Next.js zu vinext zu migrieren, zu konvertieren oder zu wechseln. Übernimmt Kompatibilitätsscans, Paketersetzung, Vite-Konfigurationsgenerierung, ESM-Konvertierung und die Einrichtung der Cloudflare-Bereitstellung. Quelle: cloudflare/vinext.