问题:
[plugin:vite:css] Failed to find ‘~dhtmlx-gantt/codebase/dhtmlxgantt.css’
in [
D:/idea-down/jeecgboot-vue3-master (1.2)/jeecgboot-vue3-master/src/components
]
D:/idea-down/jeecgboot-vue3-master (1.2)/jeecgboot-vue3-master/src/components/ganttone.vue
at D:\idea-down\jeecgboot-vue3-master (1.2)\jeecgboot-vue3-master\node_modules\vite\dist\node\chunks\dep-a9015192.js:82:13
at async Promise.all (index 0)
at async LazyResult.runAsync (D:\idea-down\jeecgboot-vue3-master (1.2)\jeecgboot-vue3-master\node_modules\postcss\lib\lazy-result.js:396:11)
at async compileCSS (D:\idea-down\jeecgboot-vue3-master (1.2)\jeecgboot-vue3-master\node_modules\vite\dist\node\chunks\dep-9e5491c9.js:37633:27)
at async TransformContext.transform (D:\idea-down\jeecgboot-vue3-master (1.2)\jeecgboot-vue3-master\node_modules\vite\dist\node\chunks\dep-9e5491c9.js:37186:55)
at async Object.transform (D:\idea-down\jeecgboot-vue3-master (1.2)\jeecgboot-vue3-master\node_modules\vite\dist\node\chunks\dep-9e5491c9.js:39292:30)
at async doTransform (D:\idea-down\jeecgboot-vue3-master (1.2)\jeecgboot-vue3-master\node_modules\vite\dist\node\chunks\dep-9e5491c9.js:50005: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.
错误如下:
导入路径改到
Ok!!!