본문 바로가기
웹(web)/프론트엔드-react

hello world

by 바코94 2020. 7. 3.

react로 hello world 해보자.

 

준비 작업

1. node js 설치

2. yarn 설치

 

설치가 완료되면 다음 작업 진행

1. 작업할 폴더 만들고 폴더 안으로 이동 (윈도우는 cmd, 맥은 터미널에서)
2. npx create-react-app begin-react
3. cd begin-react
4. yarn start

 

react가 뺑글뺑글 도는 화면이 나타나면 끝!