Migrate to CRA

Migrate Vite.js instance to CRA (create-react-app)


Step 1:

  • Please do not delete/edit any files before running the command.
  • Used in the root directory.
Example:
Zone_Typescript
  ├─ vite-ts
  ├─ ...

cd vite-ts

Step 2:

In folder vite-ts / starter-vite-ts.

v3
npx vite-to-cra@latest

v2.4.0
npx vite-to-cra@1.1.1