SyntaxHighlighter.all();

Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Archives
Total
Today
Yesterday
관리 메뉴

ReactJS 설치 본문

ReactJS

ReactJS 설치

데브케이션 2018. 10. 29. 20:33



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