index.ts 298 B

12345678910111213
  1. import Tree from './src/tree.vue'
  2. import type { App } from 'vue'
  3. import type { SFCWithInstall } from '@element-plus/utils'
  4. Tree.install = (app: App): void => {
  5. app.component(Tree.name, Tree)
  6. }
  7. const _Tree = Tree as SFCWithInstall<typeof Tree>
  8. export default _Tree
  9. export const ElTree = _Tree