You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ncaught (in promise) ReferenceError: fileUtils is not defined
at ComputedRefImpl.fn (SpFile.vue:43:3)
at refreshComputed (reactivity.esm-bundler.js:380:28)
at get value (reactivity.esm-bundler.js:1631:5)
at unref (reactivity.esm-bundler.js:1476:29)
at Object.get (reactivity.esm-bundler.js:1482:64)
at Proxy._sfc_render (SpFile.vue:64:25)
at renderComponentRoot (runtime-core.esm-bundler.js:6502:16)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5319:46)
at ReactiveEffect.run (reactivity.esm-bundler.js:225:19)
at setupRenderEffect (runtime-core.esm-bundler.js:5454:5)
Describe the bug
添加了如下扫描,发现目录中的内容无法生成到自动导入文件中,但是默认的
vue
等这些标准的可以。(可以确认生成的路径是正确的,我通过控制台打印结果得知)
所以导致文档中演示组件会报错找不到类,并且也无法打包。下面的
fileUtils
就是在演示的组件中自动导入的工具类。Reproduction
https://github.com/WangJincheng4869/fanKuiWenJian/tree/main/packages/vite-auto-imports-vuepress
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: