关于 unplugin-vue-compoents自动引入 #1396
mengqiuleo
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
unplugin-vue-components [已不再接受新的组件库,链接: Pause on New Resolvers,推荐自定义 resolvers 函数。
目前 tiny-vue 组件库的

@opentiny/vue-vite-import
实现效果如下:而
unplugin-vue-components
插件效果为:import { xxx } from 'xxx',是具名导出所以实现该新特性可以自定义一个新插件
Beta Was this translation helpful? Give feedback.
All reactions