diff --git a/src/ui/index.ts b/src/ui/index.ts index 73169d2b..42d08ffb 100644 --- a/src/ui/index.ts +++ b/src/ui/index.ts @@ -5,6 +5,7 @@ import { vant4, vant4Components } from './vant' import { antDesignVue2, antDesignVue2Components, antDesignVue3, antDesignVue3Components, antDesignVue4, antDesignVue4Components } from './antDesignVue' import { varlet2, varlet2Components } from './varlet' import { naiveUi2, naiveUi2Components } from './naiveUi' +import { vuetify3, vuetify3Components } from './vuetify' export default { elementUi2, @@ -17,6 +18,7 @@ export default { antDesignVue3, antDesignVue2, varlet2, + vuetify3, elementUi2Components, antd4Components, antd5Components, @@ -27,4 +29,5 @@ export default { antDesignVue2Components, naiveUi2Components, varlet2Components, + vuetify3Components, } diff --git a/src/ui/vuetify/index.ts b/src/ui/vuetify/index.ts new file mode 100644 index 00000000..3e7894b8 --- /dev/null +++ b/src/ui/vuetify/index.ts @@ -0,0 +1 @@ +export * from './vuetify3' diff --git a/src/ui/vuetify/vuetify3/index.ts b/src/ui/vuetify/vuetify3/index.ts new file mode 100644 index 00000000..102740a7 --- /dev/null +++ b/src/ui/vuetify/vuetify3/index.ts @@ -0,0 +1,15 @@ +import { componentsReducer, propsReducer } from '../../utils' + +export function vuetify3() { + const map: any = [ + + ] + + return propsReducer(map) +} + +export function vuetify3Components() { + const map: any[] = [ + ] + return componentsReducer(map) +} diff --git a/src/utils.ts b/src/utils.ts index d999900e..a3f845c1 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -143,7 +143,7 @@ function jsxDfs(children: any, position: vscode.Position) { } } -const UINames = ['element-ui', 'element-plus', 'antd', 'ant-design-vue', '@varlet/ui', 'vant', 'naive-ui'] +const UINames = ['element-ui', 'element-plus', 'antd', 'ant-design-vue', '@varlet/ui', 'vant', 'naive-ui', 'vuetify'] export async function findPkgUI(cwd?: string) { if (!cwd) return