升级:将 VitePress 版本升级为 v1.0.0-alpha.27(删除自定义 Badge 组件更换为官方全局组件,调整 cleanUrls 配置)
This commit is contained in:
@@ -33,8 +33,8 @@ export const nav: DefaultTheme.Config['nav'] = [
|
||||
{
|
||||
text: '关于',
|
||||
items: [
|
||||
{ text: '关于知识库', link: '/about/index', activeMatch: '/about/index.html' },
|
||||
{ text: '关于我', link: '/about/me', activeMatch: '/about/me.html' }
|
||||
{ text: '关于知识库', link: '/about/index', activeMatch: '/about/index' },
|
||||
{ text: '关于我', link: '/about/me', activeMatch: '/about/me' }
|
||||
],
|
||||
activeMatch: '/about/' // // 当前页面处于匹配路径下时, 对应导航菜单将突出显示
|
||||
}
|
||||
|
Reference in New Issue
Block a user