Ryu.log

[ React-Tutorial-02 ] React 프로젝트 시작 본문

Prev-content

[ React-Tutorial-02 ] React 프로젝트 시작

류뚝딱 2018. 5. 24. 18:05


01. create-react-app 설치 및 사용

사전 필수 설치 요소 : Node.js, yarn


create-react-app은 이름이 뜻하듯이, React App을 만들어주는 도구이다. 터미널에 아래 명령어를 입력하여 설치한다.

yarn install -g create-react-app



설치가 완료되면 터미널에 다음 명령어를 입력하여 React App을 만든다.

create-react-app hello-react


성공적으로 설치되면 위와같은 화면이 확인될 것이고 터미널에 아래 명령어를 입력하여 React Project를 시작한다.

cd hello-react

yarn start

성공적으로 React App이 만들어 졌다! 야호~!


이 글은 Velopert님의 블로그에서 React 포스팅을보며 실습하며 공부한 자료입니다.

'Prev-content' 카테고리의 다른 글

[ React-Tutorial-04 ] props와 state  (0) 2018.05.25
[ React-Tutorial-03 ] JSX  (0) 2018.05.25
[ React-Tutorial-01 ] React 란?  (0) 2018.05.24
[ECMAScript6] - Rest 파라미터  (0) 2018.03.12
[ECMAScript6] - Arrow function 화살표 함수  (0) 2018.02.13
Comments