mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
14 lines
301 B
TypeScript
14 lines
301 B
TypeScript
import Tree from './src/tree.vue'
|
|
|
|
import type { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils-v2'
|
|
|
|
Tree.install = (app: App): void => {
|
|
app.component(Tree.name, Tree)
|
|
}
|
|
|
|
const _Tree = Tree as SFCWithInstall<typeof Tree>
|
|
|
|
export default _Tree
|
|
export const ElTree = _Tree
|