1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| module.exports = {
| title: 'JiepeiWMS',
| description: 'Hello, 欢迎使用,一个通用的后台权限管理框架!',
| base : '/.doc/',
| head: [
| ['link', {
| rel: 'icon',
| href: `/favicon.ico`
| }]
| ],
| dest: './contents/.vuepress/dist',
| ga: '',
| evergreen: true,
| themeConfig: {
| nav: [
| { text: '首页', link: '/' },
| { text: '指南', link: '/guide/' },
| { text: '更新日志', link: '/Update/' },
| { text: '参与贡献', link: '/Contribution/' },
| { text: '社区', link: '/QQ/' },
| { text: '在线Demo', link: 'http://vueadmin.neters.club' },
| { text: 'Github', link: 'https://github.com/anjoy8/Blog.Core' },
| ],
| sidebarDepth: 2,
| sidebar: {
| '/guide/': getGuideSidebar('Guide'),
| }
| }
| }
|
| function getGuideSidebar (groupA) {
| return [
| {
| title: groupA,
| collapsable: false,
| children: [
| '',
| 'getting-started',
| 'cheat-sheet'
| ]
| }
| ]
| }
|
|