create-react-app로 프로젝트 생성 및 불필요한 파일 정리
create-react-app을 이용하여 프로젝트 생성 1. create-react-app 설치 npm install -g create-react-app 2. 프로젝트 생성 creacte-react-app 뒤에는 프로젝트 명 create-react-app boilerplate default 프로젝트 구성 기본적으로 create-react-app으로 생성한 프로젝트는 webpack, babel, jest 등 설정이 되어있지만 설정 파일이 보이지 않는 상태 eject 명령으로 설정 파일 노출 npm run eject ? Are you sure you want to eject? This action is permanent. y/N ? y config 디렉터리와 scripts 디렉터리 추가되며, package...
FrontEnd/React
2020. 2. 26. 23:02