django-vue3-admin-web/node_modules/vxe-pc-ui/packages/alert/index.ts
2025-10-20 21:21:14 +08:00

17 lines
445 B
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