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
468 B
16 lines
468 B
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
|
|
|