File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ Supported Resolvers:
172
172
- [ Naive UI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/naive-ui.ts )
173
173
- [ Prime Vue] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/prime-vue.ts )
174
174
- [ 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 )
175
176
- [ Varlet UI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/varlet-ui.ts )
176
177
- [ View UI] ( https://github.com/antfu/unplugin-vue-components/blob/main/src/resolvers/view-ui.ts )
177
178
- [ 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'
7
7
export * from './prime-vue'
8
8
export * from './vant'
9
9
export * from './varlet-ui'
10
+ export * from './veui'
10
11
export * from './view-ui'
11
12
export * from './vuetify'
12
13
export * 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