React - 환경설정, 확장프로그램

김해김씨가오리·2022년 12월 6일
0

REACT

목록 보기
1/14
post-thumbnail

환경설정

yarn설치

yarn이란? Facebook에서 만든 자바스크립트 패키지 매니저. npm으로 react 환경설정 하는 것보다 작은 용량으로 react환경설정 할 수 있음.
powershell, cmd, vs terminal 중 설치 되는것을 골라 명령하면 됨
npm install -g yarn
react 폴더 생성(vs terminal 추천)
yarn create react-app 폴더명
만들어진 index.html 실행하기(vs terminal)
yarn start

확장프로그램 설치(추천)

ES7+ React/Redux/React-Native snippets

짧은 단어로 react의 기본 구조를 작성 할 수 있음
rafce : 컴포넌트의 기본 구조 만들어줌
profile
그냥 기록용!!!

0개의 댓글