프로젝트 생성

ME2DESIGNER.COM·2022년 2월 15일
post-thumbnail
  1. MasOS는 Brew 설치 후 Brew 명령어를 통해서 아래 Git, nodeJS, Yarn등을 설치해야됨
  1. 터미널 설치
  1. Git https://git-scm.com/downloads

  2. NodeJS https://nodejs.org/en/

  3. Yarn 터미널 설치

  • WinOS : $ npm install --global yarn
  • Mac OS : $ brew install yarn
  1. 설치 정상여부 터미널에서 version 확인
    $ git -v
    $ node -v
    $ npm -v
    $ yarn -v

참고 : https://create-react-app.dev/docs/getting-started/

1. React 프로젝트 생성

$ yarn create react-app 폴더명
※ react-app Facebook 제작한 react 패키지 모음

2. 프로젝트 실행

$ yarn start

새로운 터미널탭을 생성 > 프로젝트 폴더 경로 이동 > $ code . > VS code로 해당 프로젝트 열림!

template 폴더 복사방법
Xcopy /E /I SourceFolder DestinationFolder

profile
UI 마크업 개발자 장지훈입니다.

0개의 댓글