vuepress-plugin-auto-sidebar
vuepress-plugin-auto-sidebar copied to clipboard
自行引入生成的 sidebar.js 文件,这个文件需要先运行命令生成
用yarn docs:dev就能生成,然后修改配置文件引入这个文件
是的,我忘记在 README 中说明了
另外配置支持自定义输出文件名字 但网站的文档上还没有写上
plugins: [
["vuepress-plugin-auto-sidebar", {
output: {filename: 'sidebar-auto'}
}]
],