Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

pragmasphere/vue-tree

Repository files navigation

vue-tree

npm Travis Coveralls Commitizen friendly

Simple Tree Component for VueJS.

Features

  • Load any data structure without any changes or mapping.
  • Load items Synchronous or Asynchronously.
  • Apply Theme matching your CSS Framework.
  • Move items with Drag & Drop (To be done).
  • Select items with Drag & Drop (To be done).

Install

npm install @pragmasphere/vue-tree
import Vue from 'vue'

import VueTree from '@pragmasphere/vue-tree'
import '@pragmasphere/vue-tree/lib/vue-tree.css'

Vue.components('vue-tree', VueTree)
<vue-tree></vue-tree>

Full docs are available at http://vue-tree.pragmasphere.com

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run test