UNPKG

v-tree-vue

Version:

A light-weight library for management of hierachical content. Most solutions I found did not offer the depth of flexibility I needed with the tree. I decided to solve my problem and also give back to the Vue community. Feel free to log issues, I will jump

13 lines (10 loc) 389 B
import { VueConstructor } from 'vue'; import TreeView from '@/components/treeView.vue/treeView.vue'; import TreeViewItem from '@/components/treeViewItem/treeViewItemView.vue'; const TreeViewPlugin = { install(Vue: VueConstructor) { Vue.component('tree-view', TreeView); Vue.component('treeview-item', TreeViewItem); } } export default TreeViewPlugin;