React, CRA Setting

전민승·2020년 10월 7일
1

초기 세팅 master branch

원하는 directory 이동 후 CRA 프로젝트를 설치

$ npx create-react-app westagram-project

React Router 설치

$ npm install react-router-dom --save

Sass 설치

$ npm install node-sass --save

git repo 생성

git 주의사항

초기에 git을 사용할 폴더에서만 init을 했어야 했는데
desktop보다 깊은 곳에 깃을 설치하여 모든 폴더에 master가 생겼다
그래서 깃에 올렸을때 해당 프로젝트 폴더만 올라가지 않고
desktop경로도 올라가는 오류가 있었음!

profile
Frontend Developer

0개의 댓글