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
Weekly Downloads