S
Seoffix.com
Sign In Get Pro Membership
Skill CommunityApache-2.0Updated this quarter

CRA to Next

by Vercel

The official migration off Create React App.

OfficialMigration
Open upstream 0 installs recorded Source repository Launch page

About this skill

Official. Routing, env, the public folder, and the pieces people forget until CI is red.

Input and output contract

Input

A CRA app.

Output

A Next tree that builds.

Workflow steps

  1. 1
    Routing
  2. 2
    Env
  3. 3
    Public folder

Prompt Notebook

You sayMove this CRA app to App Router.
It returnsapp/ tree, next/image, env renamed. Vite leftover noted.
You sayWhere do REACT_APP_ keys go?
It returnsNEXT_PUBLIC_. Two secrets stay server-only.

More from Vercel

Vercel Agent Skills
vercel-agent-skills
Community

React, composition, and the design rules Vercel actually ships.

SkillOfficialReact
Next.js Best Practices
next-best-practices
Community

Vercel’s skill for the Next.js app you already have.

SkillOfficialNext.js
React Best Practices
vercel-react-best-practices
Community

Vercel’s 40+ rules for React that stays fast.

SkillOfficialReact
OK