프론트엔드/React

[Redux] Redux 프로젝트 환경 설치

잇님 2020. 4. 20. 13:17

 

1.  npm install -g create-react-app

프로젝트 환경을 구축할 경로로 이동하여 명령어 실행

 

2. create-react-app [프로젝트 폴더명]

ex. create-react-app redux-example

 

3. redux 설치

npm install --save redux react-redux 명령어 실행

(react-redux : 뷰 레이어 바인딩)