You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
462 B
16 lines
462 B
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxeAvatarComponent from './src/avatar'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeAvatar = Object.assign({}, VxeAvatarComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeAvatarComponent.name as string, VxeAvatarComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeAvatar)
|
|
VxeUI.component(VxeAvatarComponent)
|
|
|
|
export const Avatar = VxeAvatar
|
|
export default VxeAvatar
|
|
|