How to create React app with Vite

How to create React app with Vite

In your terminal:

npm create vite@latest

You will be prompted by the setup, choose a project name eg. myApp, and choose React from the list of frameworks.

Then jump in and start developing:

cd myApp
npm install

# start development server
npm run dev