17 lines
451 B
TypeScript
17 lines
451 B
TypeScript
import { VueConstructor } 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: VueConstructor) {
|
|
app.component(VxeImageComponent.name as string, VxeImageComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeImage)
|
|
VxeUI.component(VxeImageComponent)
|
|
|
|
export const Image = VxeImage
|
|
export default VxeImage
|