django-vue3-admin-web/node_modules/vxe-pc-ui/packages/icon-picker/index.ts
2025-10-20 21:21:14 +08:00

17 lines
507 B
TypeScript

import { App } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeIconPickerComponent from './src/icon-picker'
import { dynamicApp } from '../dynamics'
export const VxeIconPicker = Object.assign(VxeIconPickerComponent, {
install: function (app: App) {
app.component(VxeIconPickerComponent.name as string, VxeIconPickerComponent)
}
})
dynamicApp.use(VxeIconPicker)
VxeUI.component(VxeIconPickerComponent)
export const IconPicker = VxeIconPicker
export default VxeIconPicker