mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
14 lines
365 B
TypeScript
14 lines
365 B
TypeScript
import { App } from 'vue'
|
|
import VxeSwitchComponent from './src/switch'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const Switch = Object.assign(VxeSwitchComponent, {
|
|
install: function (app: App) {
|
|
app.component(VxeSwitchComponent.name, VxeSwitchComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.component(VxeSwitchComponent.name, VxeSwitchComponent)
|
|
|
|
export default Switch
|