-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathnav.config.js
More file actions
119 lines (116 loc) · 2.29 KB
/
Copy pathnav.config.js
File metadata and controls
119 lines (116 loc) · 2.29 KB
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
const github = 'https://github.com/mxdi9i7/vant-react';
module.exports = {
'zh-CN': {
header: {
logo: {
image: 'https://img.yzcdn.cn/vant/logo.png',
title: 'Vant React',
href: '#/'
},
nav: {
lang: {
text: 'En',
from: 'zh-CN',
to: 'en-US'
},
logoLink: [
{
image: 'https://b.yzcdn.cn/vant/logo/github.svg',
url: 'github'
}
]
}
},
nav: [
{
name: '开发指南',
list: [
{
title: '快速上手',
path: 'quickstart',
},
{
title: '更新日志',
path: 'changelog',
},
{
title: '如何参与',
path: 'contribute',
},
{
title: '文档规范',
path: 'markdown',
},
{
title: '国际化',
path: 'locale',
}
],
},
{
name: '基础组件',
list: [
{
title: 'Button 按钮',
path: 'button',
},
{
title: 'Cell 单元格',
path: 'cell',
},
{
title: 'Field 输入框',
path: 'field',
},
{
title: 'Icon 图标',
path: 'icons',
},
{
title: 'Navbar 导航栏',
path: 'navbar',
},
{
title: 'Popup 弹出层',
path: 'popup',
},
{
title: 'Rate 评分',
path: 'rate',
},
{
title: 'Search 搜索',
path: 'search',
},
{
title: 'Tag 标记',
path: 'tag',
}
],
},
]
},
'en-US': {
header: {
logo: {
image:
'https://img.yzcdn.cn/vant/logo.png',
title: 'Vant React',
href: '#/'
},
nav: {
lang: {
text: '中文',
from: 'en-US',
to: 'zh-CN'
},
logoLink: [
{
image: 'https://b.yzcdn.cn/vant/logo/github.svg',
url: 'github'
}
]
}
},
}
};