ReactJS 설치 본문
reactJS 설치
: sudo npm install -g create-react-app // permission denied 발생시 sudo 추가
ReactJS Project 생성
: create-react-app 프로젝트명
yarn start
Starts the development server.
yarn build
Bundles the app into static files for production.
yarn test
Starts the test runner.
yarn eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd 프로젝트명
yarn start
프로젝트 실행 확인
http://localhost:3000/
https://reactjs.org/docs/create-a-new-react-app.html
'ReactJS' 카테고리의 다른 글
Ajac in React, Fetch, promise (0) | 2018.11.03 |
---|---|
Component State (0) | 2018.10.30 |
Component Life Cycle (0) | 2018.10.30 |
컴포넌트 , Props (0) | 2018.10.30 |
Comments