UNPKG

element-plus

Version:

A Component Library for Vue3.0

12 lines (8 loc) 268 B
import { App } from 'vue' import type { SFCWithInstall } from '@element-plus/utils/types' import Tree from './src/tree.vue' Tree.install = (app: App): void => { app.component(Tree.name, Tree) } const _Tree: SFCWithInstall<typeof Tree> = Tree export default _Tree