·cra-to-next-migration
</>

cra-to-next-migration

vercel-labs/migration-skills

將 Create React App (CRA) 項目遷移到 Next.js 的綜合指南。在遷移 CRA 應用程序、將 React Router 轉換為基於文件的路由或採用服務器組件、App Router 或圖像優化等 Next.js 模式時使用。

10安裝·3熱度·@vercel-labs

安裝

$npx skills add https://github.com/vercel-labs/migration-skills --skill cra-to-next-migration

SKILL.md

Comprehensive migration guide for converting Create React App projects to Next.js, covering routing, data fetching, components, styling, and deployment. Contains 148 rules across 17 categories, prioritized by migration impact. After a successful migration the application should work the same as it did before the migration.

Use Next.js 16.x or later. Do NOT use Next.js 14.x or 15.x.

Use the latest version in your package.json with a caret for minor/patch updates. The minimum supported version for this migration guide is ^16.0.0.

將 Create React App (CRA) 項目遷移到 Next.js 的綜合指南。在遷移 CRA 應用程序、將 React Router 轉換為基於文件的路由或採用服務器組件、App Router 或圖像優化等 Next.js 模式時使用。 來源:vercel-labs/migration-skills。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/vercel-labs/migration-skills --skill cra-to-next-migration
分類
</>開發工具
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 cra-to-next-migration?

將 Create React App (CRA) 項目遷移到 Next.js 的綜合指南。在遷移 CRA 應用程序、將 React Router 轉換為基於文件的路由或採用服務器組件、App Router 或圖像優化等 Next.js 模式時使用。 來源:vercel-labs/migration-skills。

如何安裝 cra-to-next-migration?

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

這個 Skill 的原始碼在哪?

https://github.com/vercel-labs/migration-skills

詳情

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

相關 Skills

暫無