공부/GDG

React 프로젝트 생성

수win 2024. 10. 30. 15:09

✔️ Vite + React + TS

 

yarn create vite

 

Project name: react-app1

Select a framework >> React

Select a variant >> TypeScript + SWC

 

cd react-app1

 

yarn

 

yarn dev

 


💠React

npm install -g create-react-app

create-react-app react1

cd react1

npm start