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
451 B
16 lines
451 B
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxeBadgeComponent from './src/badge'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeBadge = Object.assign({}, VxeBadgeComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeBadgeComponent.name as string, VxeBadgeComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeBadge)
|
|
VxeUI.component(VxeBadgeComponent)
|
|
|
|
export const Badge = VxeBadge
|
|
export default VxeBadge
|
|
|