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 { dynamicApp } from '../dynamics'
|
|
import VxeAlertComponent from './src/alert'
|
|
|
|
export const VxeAlert = Object.assign({}, VxeAlertComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeAlertComponent.name as string, VxeAlertComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeAlert)
|
|
VxeUI.component(VxeAlertComponent)
|
|
|
|
export const Alert = VxeAlert
|
|
export default VxeAlert
|
|
|