Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- database
- leetcode
- DART
- Datastructure
- express
- HTML
- Infra
- OOP
- javascript
- nodejs
- Chrome
- JSP
- mongodb
- ReactJS
- etc
- cloud
- English
- react
- node.js
- 영어
- CSS
- typescript
- MAC
- frontend
- java
- Algorithms
- flutter
- language
- db
- Git
Archives
- Today
- Total
목록react (1)
henry dev
Auto Import
VS Code에서 React 개발을 할 때 component를 auto fix에서 import하지 못 하는 경우가 발생했다. 이를 해결하기 위해서는 프로젝트 root에서 "jsconfig.json" 파일을 생성한다. 그리고 아래와 같이 작성해주면 이후 auto fix에서 component를 import 할 수 있다. { "compilerOptions": { "module": "commonjs", "target": "es2016", "jsx": "preserve", "baseUrl": "./src", "checkJs": true }, "exclude": ["node_modules", "**/node_modules/*"] } 참고로 위 옵션 중 "checkJs"를 true로 하면 객체의 property를 사..
Dev/React
2023. 12. 2. 20:09