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