libj-vue-comp-tree
v1.1.0
Published
Two vue components for showing a re-orderable tree
Downloads
2
Readme
libj-vue-comp-tree
Part of libj tools
Two vue components for showing a re-orderable tree
Usage
npm install libj-vue-comp-tree
With default theme
import 'libj-vue-comp-tree/dist/libj-vue-comp-tree.default.min.css'
import 'libj-vue-comp-tree'
//Now, j-tree component is available globally
Customize theme
You'll need a separate .scss file like (showcase/showcase.scss):
// Set variables here
.
.
.
@import 'libj-vue-comp-tree/index.scss';
// Now override classes
.
.
.
SCSS Variables:
$j-tree-anchor-border-color: black !default;
Test
- Run this in a separate command line to start node server
node server.js
- Run one of the following to re-create bundles
npm run dev
npm run dev:watch
- Navigate to http://localhost:3000
Build
npm run build
npm run build:watch