Buy nowGet update
  • getting started
    • Introduction
    • Quick start
    • Mock server
    • Deployment
    • Package & license
    • Setup
    • Figma
  • theme UI
    • Colors
    • Typography
    • IconsNEW
    • Shadows
    • Css vars
    • Logo
    • Layout
    • Navigation
    • Settings
  • Global
    • Styles
    • Config
    • Components overrides
  • development
    • Routing
    • Subfolder
    • Authentication
    • Environment variables
    • Api calls
    • Multi language
    • Structure
    • Clean project
    • Dependencies
    • Tailwind
    • Migrate to CRA
    • Credit assets
  • support
    • 🔵 Update
    • 🔴 Faqs & support
    • 🟣 Changelogv7.4.0
© All rights reserved.ContactHome

Migrate to CRA

This guide helps you migrate a Vite.js project to Create React App (CRA).

(CRA) create-react-app has not been maintained for a long time.
  • Migrating to vite.js or next.js is (recommended)
  • If you want to use CRA version please check here migrate to CRA
  • Learn more: https://github.com/reactjs/react.dev/pull/5487

Step 1: Prepare your project
  • Do not delete or modify any files before running the migration command.
  • Run the command inside the root directory of the project.
Example folder structure:
Minimal_Typescript
  ├─ vite-ts
  ├─ starter-vite-ts

cd vite-ts
# OR
cd starter-vite-ts
Step 2: Run migration command
  • Run the appropriate version of the vite-to-cra CLI tool based on your current Minimal UI version.
  • In the vite-ts or starter-vite-ts folder.

Minimal UI v6.2.0 | v6.3.0| v7.0.0

npx [email protected]

Minimal UI v6.0.0 | v6.0.1 | v6.1.0

npx [email protected]

Minimal UI v5

npx [email protected]