React 설치
1 min readJan 3, 2020
nodejs 사이트에서 최신버전 설치
설치후
윈도우키+R (CMD 실행)
C:\Users\IT1907003>npm -v
6.13.4
C:\Users\IT1907003>npm install -g create-react-app(권한 에러 발생한다면 앞에 sudo 를 같이 입력)
C:\Users\IT1907003>create-react-app
Please specify the project directory:
create-react-app <project-directory>
For example:
create-react-app my-react-app
Run create-react-app — help to see all options.
바탕화면에 react-app폴더 생성 후
C:\Users\IT1907003>cd C:\Users\IT1907003\Desktop\react-app
C:\Users\IT1907003\Desktop>create-react-app .
※npx create-react-app (react app을 실행 후 설치 삭제까지 진행)