Closed hehuangz closed 2 years ago
升级 @arco-design/arco-doc-site > 1.7.0
,团队站点的左侧菜单将保持与本地目录层级一致。
修改站点项目的 .config/main.js
中的字段可以自定义菜单配置,包括最大允许的子菜单层级,菜单排序规则:
module.exports = {
site: {
menu: {
maxSubMenuLevel: 2,
sortRule: { 'submenu1': [ 'item2', 'item1'] }
}
}
};
Basic Info
What are the similar cases of this feature
arco文档官网的左侧导航
What problem does this feature solve?
不同类型的文档太多,希望通过一级菜单划分更加清晰