unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

how to add prefix with src/components or dirs ?

Open wvq opened this issue 2 years ago • 2 comments

src/components 里面的组件,想生成时加个前缀,用于区分是包的组件还是自定义的组件。

看了一下配置没有找到方案,有在Component里面设置了name,但生成的dts, 依然使用的文件名来命名了。

wvq avatar Apr 30 '22 13:04 wvq

我是直接在文件名上就加上前缀了。

zhaoyunyes avatar Jun 10 '22 02:06 zhaoyunyes

确实没找到方案。

Delevin888 avatar Jun 27 '22 10:06 Delevin888