카테고리 없음
Start React
cozynow
2021. 3. 24. 00:59
1. 가장 먼저 개발 환경 설정
- node.js 설치
2. 프로젝트 생성하기
- npm install -g create-react-app : 이때 mac 환경에서는 권한 문제 발생
- npx 로 깔끔하게 설치 가능(npm 5.0.2버전부터 지원)
npx create-react-app my-app
npm start
- http://localhost:3000 접근하기