Reactjs 시작하기

phantom0308
2 min readJan 6, 2020

VScode 실행

바탕화면에 생성한 react-app 폴더를 열고, VScode의 View-Appearance-Show Pannel 을 선택.

아래와 같이 command line 창이 생성된다.

-> npm run start

create-react-app 구현해놓은 페이지가 실행된다.

Reactjs 파헤치기

index.html은 App.js 파일의 App function을 import 하여, index.html의 root id를 가진 element에 <App /> 사용자 정의 태그(컴포넌트)를 rendering 하여 준다.

--

--