mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
16 lines
409 B
Vue
16 lines
409 B
Vue
import Tree from './Tree';
|
|
import DirectoryTree from './DirectoryTree';
|
|
import Base from '../base';
|
|
|
|
Tree.TreeNode.name = 'ATreeNode';
|
|
Tree.DirectoryTree = DirectoryTree;
|
|
/* istanbul ignore next */
|
|
Tree.install = function(Vue) {
|
|
Vue.use(Base);
|
|
Vue.component(Tree.name, Tree);
|
|
Vue.component(Tree.TreeNode.name, Tree.TreeNode);
|
|
Vue.component(DirectoryTree.name, DirectoryTree);
|
|
};
|
|
|
|
export default Tree;
|