vxe-pc-ui
Version:
A vue based PC component library
17 lines (13 loc) • 512 B
text/typescript
import { App } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeColorPickerComponent from './src/color-picker'
import { dynamicApp } from '../dynamics'
export const VxeColorPicker = Object.assign({}, VxeColorPickerComponent, {
install (app: App) {
app.component(VxeColorPickerComponent.name as string, VxeColorPickerComponent)
}
})
dynamicApp.use(VxeColorPicker)
VxeUI.component(VxeColorPickerComponent)
export const ColorPicker = VxeColorPicker
export default VxeColorPicker