left-menu-tree

0.2.7 • Public • Published

menu-tree

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

样式

import "left-menu-tree/lib/plugin_demo.css"

数据结构

menuData:[
  {
    id:"1",
    name:"菜单一",
    icon:"menu-item-icon iconfont icon-shouye"
  }
] 

背景颜色

backgroundColor

字体颜色

textColor

选中的字体颜色

activeTextColor

是否折叠

collapse

默认选中

defaultActive

/left-menu-tree/

    Package Sidebar

    Install

    npm i left-menu-tree

    Weekly Downloads

    0

    Version

    0.2.7

    License

    MIT

    Unpacked Size

    100 kB

    Total Files

    10

    Last publish

    Collaborators

    • gf_xinyi