Closed zantop closed 4 years ago
menus: {
'/css': [
{
title: '导读',
children: ['css/index'],
}
],
},
navs: [
{
title: '分类',
children: [
{ title: 'css', path: '/css' },
{ title: 'ts', path: '/ts' },
{ title: 'react', path: '/react' },
],
},
{
title: '工具',
path: '/tool',
},
{
title: '站点',
path: '/site',
},
{
title: '关于',
path: '/about',
},
],
我也出现了同样的问题 我提供了最小复现仓库和复现步骤 多语言情况下也会出现 https://github.com/HeskeyBaozi/dumi-bug-report
@HeskeyBaozi 非默认语言下的导航配置要加上前缀:
{
'zh-CN': [{
- path: '/guide',
+ path: '/zh-CN/guide',
}]
}
@zantop 二级导航确实是 bug,感谢反馈
请问左侧菜单栏只显示index问题解决了嘛
请提供复现步骤或 repo