forked from airyland/vux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
116 lines (112 loc) · 2.2 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
var langs = [
{
title: '简体中文',
path: '/'
},
{
title: 'English(working)',
path: '#'
}
]
self.$config = {
home: '/zh-CN/README.md',
repo: 'airyland/vux',
languages: ['/', '/en'],
nav: {
'zh-CN':[{
title: '首页',
path: '/zh-CN/README'
},
{
title: '组件',
type: 'dropdown',
items: [{
title: '全部组件',
path: '/zh-CN/components'
},{
title: '表单组件',
path: '/zh-CN/components_form'
},
{
title: '弹窗提示',
path: '/zh-CN/components_dialog'
},
{
title: '布局',
path: '/zh-CN/components_layout'
}]
},
{
title: 'vux-loader',
path: '/zh-CN/vux-loader'
},
{
title: '更新到v2.x',
type: 'dropdown',
items: [{
title: '更新到v2.x',
path: '/zh-CN/upgrade-to-2'
},{
title: '版本更新历史',
path: '/zh-CN/changes'
}]
},
{
title: '捐赠 & Vux Pro',
path: '/zh-CN/pro'
},
{
title: 'Ad: 世界和我',
className: 'vux-livingearth-nav',
path: '/zh-CN/livingearth?x-block=top-nav'
},
{
title: 'Languages',
type: 'dropdown',
items: langs
}
],
en: [{
title: 'Home',
path: '/en/'
},
{
title: 'Components',
path: '/en/components'
},
{
title: 'Components',
type: 'dropdown',
items: [{
title: 'Form Components',
path: '/en/components_form'
},
{
title: 'Dialog && Tip',
path: '/en/components_dialog'
},
{
title: 'Layout',
path: '/en/components_layout'
}]
},
{
title: 'vux-loader',
path: '/en/vux-loader'
},
{
title: 'upgrade to v2.x',
path: '/en/upgrade-to-2'
},
{
title: 'Donate & Vux Pro',
path: '/en/pro'
},
{
title: 'Languages',
type: 'dropdown',
items: langs
}
]
}
}