React 프로젝트 작성 시 노트
3114 단어 React
개요
React 프로젝트 작성 시 노트
컨텐트
경로
yarn add react-router-dom
CSS in JS/UI 라이브러리yarn add styled-components semantic-ui-react semantic-ui-css
Litt 설정
4
경로
yarn add react-router-dom
CSS in JS/UI 라이브러리yarn add styled-components semantic-ui-react semantic-ui-css
Litt 설정4
VScode에 저장된 경우 수정합니다.
yarn add eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y babel-eslint
eslintrc 만들기.eslintrc
{
"extends": "airbnb",
"parser": "babel-eslint",
"globals": {
"fetch": false,
"window": false,
"document": false
},
"rules": {
"array-callback-return": 0,
"react/no-unused-state": 1,
"no-unused-vars": 0,
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"max-len": 0
}
}
VScode 확장 기능에서 ESLight 설치VScode 설정에서 Lin의 AutoFix 활성화
매번 추가
Reference
이 문제에 관하여(React 프로젝트 작성 시 노트), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/ksyunnnn/items/89b5809eeee8c2032ee2텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)