Cloudflare 发布 Vinext 1.0:基于 Vite 的 Next.js 移植框架
原标题:Next.js applications, powered by Vite: introducing Vinext 1.0
AI 摘要
Cloudflare 发布 Vinext 1.0,这是一个基于 Vite 的框架,可将 Next.js 应用(Pages Router 和 App Router)移植到 Cloudflare Workers、Netlify、AWS Lambda 等任意平台。1.0 版本大幅提升了兼容性、稳定性和缓存行为,对客户请求的重要功能兼容性超过 99%,并新增对 Pages Router、混合应用、完整页面生命周期、缓存、可观测性及 Next.js 生态的支持。迁移只需运行 npx vinext check 和 npx vinext init 两条命令。
正文节选
When we launched Vinext in February, it was the result of an audacious week-long AI-driven experiment to see how far one engineer, and a stack of tokens, could get to replicating the NextJS framework backed by Vite. In the seven months since that experiment, Vinext has grown into a framework that our customers trust and run in production for high-traffic, dynamic applications. Today we are announcing the release of Vinext 1.0, the latest step on our journey to make it possible to deploy Next.js