[vue] import 경로 에러

이런 식으로 경로를 못찾는다고 나올 때
src 폴더 아래에 shims-vue.d.ts 라는 파일 생성 후
/* eslint-disable */
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
라고 넣으면 해당 에러 사라짐