You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
357 B
15 lines
357 B
|
|
import Tree from './Tree'
|
|
import DirectoryTree from './DirectoryTree'
|
|
|
|
Tree.TreeNode.name = 'ATreeNode'
|
|
Tree.DirectoryTree = DirectoryTree
|
|
/* istanbul ignore next */
|
|
Tree.install = function (Vue) {
|
|
Vue.component(Tree.name, Tree)
|
|
Vue.component(Tree.TreeNode.name, Tree.TreeNode)
|
|
Vue.component(DirectoryTree.name, DirectoryTree)
|
|
}
|
|
|
|
export default Tree
|