반응형
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
- csr
- ts error
- Testing
- typeScript
- ViTE
- JavaScript
- TLS
- CSS
- e2e
- vue-cli
- https
- QUIC
- 비동기
- CloudFlare
- http3
- devtools
- import.meta.env
- custom command
- caching
- web vital
- 선택자
- aws
- api test
- SSR
- vue3
- svelte
- msw
- rendering
- Cypress
- vue
Archives
- Today
- Total
목록TS2307 (1)
Develop Note by J.S.
[Typescript] Vite Init TS2307 Error
Vite로 Vue Project 생성 시 아래와 같은 에러가 발생합니다 . 이때 ./src/ 하위에 shims-vue.d.ts 타입 추론 파일을 생성 한 뒤 아래 코드를 입력해주시면 에러가 발생되지 않습니다. declare module '*.vue' { import type { DefineComponent } from 'vue'; const component: DefineComponent; export default component; } declare module '*.scss'; //scss 사용 시
Language/Typescript
2023. 7. 10. 15:12