개발일지/Reactjs (2) 썸네일형 리스트형 Reactjs 2일차 1. eslint - VSC 터미널에서 실행 - 코드에 문제가 없는지 검출해주는 역할 npm i -D eslint 2. Prettier - 코드 formatter - 사이트: https://prettier.io/docs/en/install.html Prettier · Opinionated Code Formatter Opinionated Code Formatter prettier.io - VSC 터미널에서 실행 npm install --save-dev --save-exact prettier 3. VSC에서 package.json 체크. "devDependencies": { "css-loader": "^6.7.3", "css-minimizer-webpack-plugin": "^5.0.0", "eslint":.. React 1일차 1. VSC 설치 2. Terminal에서 npm init -y 실행. > npm init -y npm : 'npm' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인 식되지 않습니다. 이름이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다 음 다시 시도하십시오. 위치 줄:1 문자:1 + npm init -y + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundExceptio n + FullyQualifiedErrorId : CommandNotFoundException VSC에서 Terminal이 powershell로 되어있는 경우 발생되는 오류. ctrl+shift+p를 눌러 .. 이전 1 다음