본문 바로가기

Programming/React

React - 2. react 프로젝트 생성 및 오픈

요약.

1. react 앱 생성

2. react 프로그램 실행

3. 프로젝트 오픈

 

1. Create react app

  - 시작 - 실행 - Windows PoweShell

create-react-app hello-react

 - react 앱 생성, "create-react-acpp [App name]"

 

2. Execute React App.

  - 시작 - 실행 - Windows PoweShell

cd hello-react
yarn start

  - 생성된 폴더로 이동

  - yarn으로 앱 실행

React 실행 화면 (예제 기본화면)

 

3. Open Project

 - Visual studio code 실행

 - File - open folders ...

 - hello_react 폴더 오픈 (\user\hello_react)

기본 프로젝트 오픈

반응형