Results 116 comments of lishaobos

因为你使用了按需引入,所以这个行为是正常行为,他会看你文件中使用了哪些组件,自动在该文件引入组件和对应样式

兄弟,我这边没问题,你要么删除掉 lock 文件再安装试试? ![image](https://github.com/unplugin/unplugin-vue-components/assets/46661044/05c1355a-a9cc-4131-9e9a-10980afe7a2f)

这个应该是 sourcemap 生成或者是 chrome 的问题: 你 debugger 源代码,函数 a 变量实则成为了 a2,所以会指向上面的 a,你自己打印 a2,还是 1,我觉得这个不用过多纠结 ![image](https://github.com/unplugin/unplugin-vue-components/assets/46661044/8d8033d5-fe91-4992-bb23-7fa852161b56) ![image](https://github.com/unplugin/unplugin-vue-components/assets/46661044/f9a3b9d9-afe3-4200-b4de-5fa9395a239f)

hi, directoryAsNamespace refers to the directory inside options.dir. if you set options.dir = src/components/customers, there's only the List.vue file inside it; there are no subdirectories you can try like this:...

hi, you also can use it: https://github.com/antfu/unplugin-vue-components/issues/420#issuecomment-1663683758

兄弟,帮忙提供个 git 仓库,确保我能一次性解决问题