VuePress 側邊欄幾種配置
阿新 • • 發佈:2020-07-23
module.exports = { title: "Fur", description: "小僧不才,略懂皮毛(Fur)", base: "/fur.baiqian.ltd/", dest: "dist", markdown: { lineNumbers: true, toc: { includeLevel: [1, 2, 3], }, }, themeConfig: { nav: [ { text: "指南", link: "/guide/", }, { text: "手冊", link: "/handbook/", }, { text: "工具", items: [{ text: "程式碼生成器", link: "/" }], }, ], sidebar: { // "/handbook/": "auto", "/handbook/": [ { title: "1. 框架指南", collapsable: true, path: "framework", // children: [ // { title: "內建功能", path: "/handbook/" }, // { title: "展望未來", path: "/handbook/" }, // ], }, // ["/handbook/framework", "1. 框架指南"], { title: "2. 功能特性", collapsable: true, children: [ { title: "內建功能", path: "/handbook/" }, { title: "展望未來", path: "/handbook/" }, ], }, ], }, sidebarDepth: 3, }, };