We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80e2d86 commit e8520dcCopy full SHA for e8520dc
src/core/resolvers/bootstrap-vue.ts
@@ -0,0 +1,16 @@
1
+import type { ComponentResolver } from '../../types'
2
+
3
+/**
4
+ * Resolver for BootstrapVue
5
+ *
6
+ * @link https://github.com/bootstrap-vue/bootstrap-vue
7
+ */
8
+export function BootstrapVueResolver(): ComponentResolver {
9
+ return {
10
+ type: 'component',
11
+ resolve: (name: string) => {
12
+ if (name.match(/^B[A-Z]/))
13
+ return { name, from: 'bootstrap-vue' }
14
+ },
15
+ }
16
+}
src/core/resolvers/index.ts
@@ -17,3 +17,4 @@ export * from './devui'
17
export * from './arco'
18
export * from './tdesign'
19
export * from './layui-vue'
20
+export * from './bootstrap-vue'
0 commit comments