Skip to content

Commit

Permalink
feat: add vuetify
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed Jul 23, 2023
1 parent f73a410 commit 800de0a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -17,6 +18,7 @@ export default {
antDesignVue3,
antDesignVue2,
varlet2,
vuetify3,
elementUi2Components,
antd4Components,
antd5Components,
Expand All @@ -27,4 +29,5 @@ export default {
antDesignVue2Components,
naiveUi2Components,
varlet2Components,
vuetify3Components,
}
1 change: 1 addition & 0 deletions src/ui/vuetify/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './vuetify3'
15 changes: 15 additions & 0 deletions src/ui/vuetify/vuetify3/index.ts
Original file line number Diff line number Diff line change
@@ -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)
}
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 800de0a

Please sign in to comment.