layui/src/module/tree/index.ts

11 lines
310 B
TypeScript
Raw Normal View History

import type { App } from 'vue'
import Component from './index.vue'
// import Component from './new-tree/index.vue'
import type { IDefineComponent } from '../type/index'
Component.install = (app: App) => {
2021-10-11 10:09:38 +00:00
app.component(Component.name || 'LayTree', Component)
}
export default Component as IDefineComponent