vxe-pc-ui
Version:
A vue based PC component library
17 lines (13 loc) • 445 B
text/typescript
import { App } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeAlertComponent from './src/alert'
import { dynamicApp } from '../dynamics'
export const VxeAlert = Object.assign({}, VxeAlertComponent, {
install (app: App) {
app.component(VxeAlertComponent.name as string, VxeAlertComponent)
}
})
dynamicApp.use(VxeAlert)
VxeUI.component(VxeAlertComponent)
export const Alert = VxeAlert
export default VxeAlert