create-vuepress-theme-hope
Version:
Create vuepress-theme-hope demo project helper
27 lines (25 loc) • 504 B
text/typescript
import { sidebar } from "vuepress-theme-hope";
export default sidebar({
"/": [
"",
{
text: "Demo",
icon: "laptop-code",
prefix: "demo/",
link: "demo/",
children: "structure",
},
{
text: "Articles",
icon: "book",
prefix: "posts/",
children: "structure",
},
"intro",
{
text: "Slides",
icon: "person-chalkboard",
link: "https://ecosystem.vuejs.press/plugins/markdown/revealjs/demo.html",
},
],
});