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
440 B
16 lines
440 B
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxeTreeComponent from './src/tree'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeTree = Object.assign({}, VxeTreeComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeTreeComponent.name as string, VxeTreeComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeTree)
|
|
VxeUI.component(VxeTreeComponent)
|
|
|
|
export const Tree = VxeTree
|
|
export default VxeTree
|
|
|