xxxxxxxxxx
npx create-vite your-project-name --template react
cd your-project-name
cd your-project-name && npm i && npm run dev
With NPM:
npm create vite@latest
With Yarn:
yarn create vite
With PNPM:
pnpm create vite
create react project with vite
xxxxxxxxxx
npm create vite@latest my-project -- --template react