Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/algesthesiah/vuetreeview

Vue high-performance functional tree component
https://github.com/algesthesiah/vuetreeview

functional jsx tree view vue webpack4

Last synced: 3 months ago
JSON representation

Vue high-performance functional tree component

Awesome Lists containing this project

README

        

# vue2-tree-view

> A simple organization tree chart based on Vue2.x

## Usage

``` html


vue2-tree-view






  • {{ it.label }}




  • ```

    ``` js
    export default {
    data() {
    return {
    data: [
    {
    children: [
    {
    label: 'Minnie Mouse',
    },
    {
    label: 'Tom Bombadil',
    },
    ],
    },
    {
    children: [
    {
    label: 'Minnie Mouse',
    },
    {
    label: 'Tom Bombadil',
    },
    ],
    },
    ],
    }
    },
    }

    ```

    ### DEMO
    - [在线网址](https://coding.algesthesiahunter.top/VueTreeView)
    - [Online site]()
    ### NPM

    ``` bash
    # use npm
    npm i vue2-tree-view -S

    # use yarn
    yarn add vue2-tree-view
    ```

    ### Import Plugins

    ``` js
    import VueTreeView from 'vue2-tree-view'
    Vue.use(VueTreeView)

    ```