Files
tekelanew_acs/acs/nladmin-ui/node_modules/vxe-pc-ui/packages/switch/index.ts
2024-12-05 09:33:18 +08:00

17 lines
468 B
TypeScript

import { VueConstructor } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import { dynamicApp } from '../dynamics'
import VxeSwitchComponent from './src/switch'
export const VxeSwitch = Object.assign(VxeSwitchComponent, {
install: function (app: VueConstructor) {
app.component(VxeSwitchComponent.name as string, VxeSwitchComponent)
}
})
dynamicApp.use(VxeSwitch)
VxeUI.component(VxeSwitchComponent)
export const Switch = VxeSwitch
export default VxeSwitch