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
- Eclipse Bug
- 정적웹사이트
- 1분코딩
- JavaScript
- error
- Sass
- next.js
- SSR
- gulp
- ref전달하기
- CSS3
- npm
- Eclipse Compare View
- html
- Study
- frontend
- 이클립스 소스 비교 안보일 때
- Eclipse
- animation
- 보일러플레이트
- java
- TaskRunner
- VW
- tomcat
- React
- ref
- 자바스크립트
- Adobe
- 이클립스
- css
Archives
- Today
- Total
목록컴포넌트경로설정 (1)
프론트 개발 블로그
[React] 절대 경로 사용하여 모듈 가져오기
문제 리액트에서 컴포넌트 모듈 가져올 때 경로 설정하는 방법. depth가 깊어질수록 경로 설정이 불편하기 때문에 사용. 해결 jsconfig.json (타입 스크립트를 사용한다면 tsconfig.json) 파일을 생성하여 옵션을 작성하면 된다. { "compilerOptions": { "baseUrl": "src" }, "include": ["src"] } create-react-app.dev/docs/importing-a-component/#absolute-imports
React
2021. 3. 11. 00:31