Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vite react project

# Create a React Project with Vite:
npm create vite@latest my-react-app -- --template react
cd my-react-app
npm install
npm run dev

# Create a React + TypeScript Project with Vite:
npm create vite@latest my-react-app-ts -- --template react-ts
cd my-react-app-ts
npm install
npm run dev
 
PREVIOUS NEXT
Tagged: #vite #react #project
ADD COMMENT
Topic
Name
8+3 =