Cannot find module '@/views/index/index.vue' or its corresponding type declarations.ts(2307) View Problem (Alt+F8) No quick fixes available 解决方法 在vite-env.d文件中新增 declare module "*.vue" { import { DefineComponent } from "vue" const component: DefineComponent<{}, {}, any> export default component }
标签:index,vue,下划线,ts,module,import From: https://www.cnblogs.com/guodadan/p/17579875.html