-
문제점 :
- vscode에서 빨간줄로 에러가 나옴
// vscode Cannot find module '@/App' or its corresponding type declarations.
해결방법 :
- 이건 너무 어이없게 해결했다. .vscode폴더가 있는 경우 업데이트가 안되는 경우가 있어서 껐다가 다시 키면 작동됨.
- 그리고 리액트로 설정했는데 해결방법은 Vue에서 찾은...!
- 결론 : 일단 안되면 끄고 보자
출처 : https://forum.vuejs.org/t/import-ts-file-in-vue-component-via-alias-cannot-find-module-error/58233/6
'Error' 카테고리의 다른 글
bash: command not found (0) 2023.03.21 vite : 라이브러리 다운로드 후 504 에러가 뜰 때 (0) 2023.01.10 MacBook 에러 모음 (0) 2022.08.08 yarn : Could not resolve dependency... (0) 2022.04.11 Unexpected token u in JSON at position 0 Error in JS (0) 2022.04.06 댓글