17 lines
452 B
TypeScript
17 lines
452 B
TypeScript
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import { dynamicApp } from '../dynamics'
|
|
import VxeButtonComponent from './src/button'
|
|
|
|
export const VxeButton = Object.assign({}, VxeButtonComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeButtonComponent.name, VxeButtonComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeButton)
|
|
VxeUI.component(VxeButtonComponent)
|
|
|
|
export const Button = VxeButton
|
|
export default VxeButton
|