vuepress-sybotan-navbar2
v24.2.1
Published
Sybotan Vue 自动生成标题与侧边导航栏。
Downloads
3
Readme
sybotan-vuepress-autobar
支持vuepress2。
参考:
概述
安装
npm install -D sybotan-vuepress-autobar
用法
// .vuepress/config.ts
module.exports = {
plugins: ['autobar']
}
特征
配置
| 配置项 | 类型 | 默认值 | 说明 | |:-----------------:|:---------:|:-----:|----| | rootDir | string | docs | 根路径 | | navPrefix | string | nav | 导航栏文件夹前缀 | | skipEmptyNavbar | boolean | true | 忽略空的导航栏 | | sidebar | string[] | [] | sidebar 路径配置 | | skipEmptySidebar | boolean | true | 忽略空的测边栏 | | stripNumbers | boolean | true | 去除编号 |