1. react 설치 및 세팅(작성중)
1. vscode 설치 -> 실행 2. 폴더 생성 3. 리액트 설치 (https://reactjs-kr.firebaseapp.com/docs/installation.html) npx create-react-app my-app cd my-app npm start 4. vscode에서 ESLint설치 (문법체크) 5. vscode에서 prettier설치 (정렬) 6. vscode에서 Reactjs code snippets (자동완성) 7. .prettierrc파일 생성 후 json방식으로 설정 singleQuote : true (홑따옴표를 쌍따옴표로 바꿔줌) semi (세미콜론 자동으로 붙여줌) tabWidth (탭키 눌렀을시 이동하는 칸 갯수) trailingComma (후행쉼표 처리) printWidth..
개발/React
2021. 8. 25. 08:42