forked from wangtunan/vue-mooc
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfig.js
128 lines (128 loc) · 3.55 KB
/
config.js
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
module.exports = {
title: 'vue-mooc',
description: '使用Vue全家桶,高防慕课网PC端项目',
head: [
['link', { rel: 'icon', href: '/icon.png' }]
],
base: '/vue-mooc-site/',
port: 3480,
themeConfig: {
lastUpdated: '最后更新时间',
sidebar: 'auto',
repo: 'https://github.com/wangtunan/vue-mooc',
repoLabel: 'Github',
nav: [
{
text: '指南',
link: '/guide/'
}
// {
// text: '组件文档',
// link: '/components/'
// }
],
sidebar: {
'/guide/': [
{
title: '前言',
collapsable: false,
children: [
'/guide/',
'/guide/forceword/'
]
},
{
title: "基础",
collapsable: false,
children: [
'/guide/basic/start.md',
'/guide/basic/mock.md',
'/guide/basic/vuex.md',
'/guide/basic/router.md',
'/guide/basic/node.md',
'/guide/basic/mongoose.md'
]
},
{
title: "基础组件封装",
collapsable: false,
children: [
'/guide/components/',
'/guide/components/star.md',
'/guide/components/badge.md',
'/guide/components/switch.md'
// '/guide/components/button.md'
// '/guide/components/timeline.md',
// '/guide/components/progress.md',
// '/guide/components/steps.md',
// '/guide/components/breadcrumb.md',
// '/guide/components/backtop.md',
// '/guide/components/button.md',
// '/guide/components/message.md',
// '/guide/components/message-box.md',
// '/guide/components/carousel.md',
// '/guide/components/pagination.md',
// '/guide/components/dialog.md',
// '/guide/components/divider.md'
]
},
{
title: "开发",
collapsable: false,
children: [
'/guide/develop/layout.md',
// '/guide/develop/sidebar.md',
'/guide/develop/login.md',
'/guide/develop/home.md',
'/guide/develop/lesson.md',
'/guide/develop/read.md',
// '/guide/develop/question.md',
// '/guide/develop/article.md',
'/guide/develop/cart.md',
// '/guide/develop/course.md',
'/guide/develop/order.md',
// '/guide/develop/user.md',
'/guide/develop/notice.md'
]
},
{
title: "部署",
collapsable: false,
children: [
'/guide/depoly/'
]
},
],
'/components/': [
{
title: '介绍',
collapsable: false,
children: [
'/components/',
]
},
{
title: '基础公共组件',
collapsable: false,
children: [
'/components/star.md',
'/components/badge.md',
'/components/switch.md',
'/components/timeline.md',
'/components/progress.md',
'/components/steps.md',
'/components/breadcrumb.md',
'/components/backtop.md',
'/components/button.md',
'/components/message.md',
'/components/message-box.md',
'/components/carousel.md',
'/components/pagination.md',
'/components/dialog.md',
'/components/divider.md'
]
}
]
}
}
}