vuepress-multi-sidebar
v1.9.8
Published
vuepress multi sidebar
Downloads
2
Readme
Vuepress multi sidebar
This is an expansion package of multi-level sidebar on the basis of vuepress
preview
Use
File directory format
├── frontEnd
| ├── vue2
| | ├── README.md
| | ├── api.md
| | ├── test
| | | ├── README.md
| | | ├── page.md
| | | ├── deep
| | | | ├── README.md
| | | | ├── deepPage.md
// .vuepress/config.js
themeConfig: {
sidebar: {
"/frontEnd/vue2/": [
"",
"api", // Normal. md file
{
title: "test",
children: [
"", // README.md
"page",
{ // folder config
title: "deep",
children: [
"",
"deepPage",
children: {...} // Multiple sub levels can be configured
],
}
}
]
}
}