·migrate-to-vinext
</>

migrate-to-vinext

將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。

1.6K安裝·50熱度·@cloudflare

安裝

$npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext

如何安裝 migrate-to-vinext

透過命令列快速安裝 migrate-to-vinext AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:cloudflare/vinext。

SKILL.md

查看原文

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.

將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。 來源:cloudflare/vinext。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext
分類
</>開發工具
認證
收錄時間
2026-02-25
更新時間
2026-03-10

Browse more skills from cloudflare/vinext

快速解答

什麼是 migrate-to-vinext?

將 Next.js 專案移轉到 vinext(Cloudflare Workers 的基於 Vite 的 Next.js 重新實作)。當要求從 Next.js 遷移、轉換或切換到 vinext 時載入。處理相容性掃描、套件替換、Vite 配置產生、ESM 轉換和 Cloudflare 部署設定。 來源:cloudflare/vinext。

如何安裝 migrate-to-vinext?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/cloudflare/vinext --skill migrate-to-vinext 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/cloudflare/vinext

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-25

相關 Skills

暫無