터미널 열기
Ctrl + J
create-react-app
터미널에
➡ npx create-react-app .
(❗❗현재 위치에 생성)
➡ npm run start
vite
터미널에
➡ npm create vite .
(❗❗현재 위치에 생성)
혹은
➡ npm create vite@latest my-react-app --template react
(❗❗my-react-app 폴더라는 위치에 react 템플릿으로 생성)
➡ cd 프로젝트폴더
➡ npm install
➡ npm run dev