File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ Supported Resolvers:
172172- [ Naive UI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/naive-ui.ts )
173173- [ Prime Vue] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/prime-vue.ts )
174174- [ Vant] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/vant.ts )
175+ - [ VEUI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/veui.ts )
175176- [ Varlet UI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/varlet-ui.ts )
176177- [ View UI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/view-ui.ts )
177178- [ Vuetify] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/vuetify.ts )
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export * from './naive-ui'
77export * from './prime-vue'
88export * from './vant'
99export * from './varlet-ui'
10+ export * from './veui'
1011export * from './view-ui'
1112export * from './vuetify'
1213export * from './vueuse'
Original file line number Diff line number Diff line change 1+ import { ComponentResolver } from '../../types'
2+
3+ /**
4+ * Resolver for VEUI
5+ *
6+ * @link https://github.com/ecomfe/veui
7+ */
8+ export function VeuiResolver ( ) : ComponentResolver {
9+ return ( name : string ) => {
10+ if ( name . match ( / ^ V e u i [ A - Z ] / ) )
11+ return { importName : name . slice ( 4 ) , path : 'veui' }
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments