본문 바로가기

henry dev

검색하기
henry dev
프로필사진 henry_bae

  • 분류 전체보기 (15)
    • Dev (7)
      • Flutter (3)
      • React (1)
      • DataBase (1)
      • MongoDB (0)
      • Git (1)
      • Typescript (0)
      • etc (1)
    • etc (8)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
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
31
Tags
  • frontend
  • Infra
  • leetcode
  • MAC
  • express
  • typescript
  • javascript
  • Chrome
  • JSP
  • language
  • react
  • Algorithms
  • OOP
  • db
  • English
  • nodejs
  • HTML
  • ReactJS
  • 영어
  • java
  • mongodb
  • node.js
  • DART
  • Git
  • CSS
  • etc
  • database
  • cloud
  • Datastructure
  • flutter
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Dev/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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바