[plugin:vite:import-analysis] Failed to resolve import "../components/animate/animate.vue" from "src\router\index.js". Does the file exist? E:/work/SVN/JianKong_QT/src/router/index.js:144:2 at formatError (file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:42589:46) at TransformContext.error (file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:42585:19) at normalizeUrl (file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:40498:33) at async file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:40641:47 at async Promise.all (index 23) at async TransformContext.transform (file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:40567:13) at async Object.transform (file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:42863:30) at async loadAndTransform (file:///E:/work/SVN/JianKong_QT/node_modules/vite/dist/node/chunks/dep-7efa13d7.js:53342:29 Click outside or fix the code to dismiss. You can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.
时间: 2023-07-12 11:01:25 浏览: 496
vue-automatic-import-loader:a使用匹配功能自动导入您自己的Vue项目的组件
这是一个关于 Vite 构建工具的报错信息,看起来是在解析导入路径 "../components/animate/animate.vue" 时出现了问题。你可以检查一下这个文件是否存在,或者确认导入路径是否正确。另外,根据报错信息,你也可以在 vite.config.js 中将 server.hmr.overlay 设置为 false 来关闭这个覆盖层。
阅读全文