-
Notifications
You must be signed in to change notification settings - Fork 238
/
Copy pathconfig.js
158 lines (158 loc) · 3.98 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
module.exports = {
head: [
['link', { rel: 'icon', href: '/favicon.png' }],
],
locales: {
'/': {
lang: 'en-US',
title: 'Vue SSR Guide',
description: 'Vue.js Server-Side Rendering Guide'
},
'/zh/': {
lang: 'zh-CN',
title: 'Vue SSR 指南',
description: 'Vue.js 服务端渲染指南'
},
'/ja/': {
lang: 'ja',
title: 'Vue SSR ガイド',
description: 'Vue.js サーバーサイドレンダリングガイド'
},
'/ru/': {
lang: 'ru',
title: 'Руководство Vue SSR',
description: 'Руководство по серверному рендерингу Vue.js'
}
},
serviceWorker: true,
theme: 'vue',
themeConfig: {
repo: 'vuejs/vue-ssr-docs',
docsDir: 'docs',
locales: {
'/': {
label: 'English',
selectText: 'Languages',
editLinkText: 'Edit this page on GitHub',
nav: [
{
text: 'Guide',
link: '/guide/'
},
{
text: 'API Reference',
link: '/api/'
}
],
sidebar: [
['/', 'Introduction'],
'/guide/',
'/guide/universal',
'/guide/structure',
'/guide/routing',
'/guide/data',
'/guide/hydration',
'/guide/bundle-renderer',
'/guide/build-config',
'/guide/css',
'/guide/head',
'/guide/caching',
'/guide/streaming',
'/guide/non-node'
]
},
'/zh/': {
label: '简体中文',
selectText: '选择语言',
editLinkText: '在 GitHub 上编辑此页',
nav: [
{
text: '指南',
link: '/zh/guide/'
},
{
text: 'API 参考',
link: '/zh/api/'
}
],
sidebar: [
['/zh/', '介绍'],
'/zh/guide/',
'/zh/guide/universal',
'/zh/guide/structure',
'/zh/guide/routing',
'/zh/guide/data',
'/zh/guide/hydration',
'/zh/guide/bundle-renderer',
'/zh/guide/build-config',
'/zh/guide/css',
'/zh/guide/head',
'/zh/guide/caching',
'/zh/guide/streaming',
'/zh/guide/non-node'
]
},
'/ja/': {
label: '日本語',
selectText: '言語',
editLinkText: 'GitHub 上でこのページを編集する',
nav: [{
text: 'ガイド',
link: '/ja/guide/'
},
{
text: 'API リファレンス',
link: '/ja/api/'
}
],
sidebar: [
['/ja/', 'はじめに'],
'/ja/guide/',
'/ja/guide/universal',
'/ja/guide/structure',
'/ja/guide/routing',
'/ja/guide/data',
'/ja/guide/hydration',
'/ja/guide/bundle-renderer',
'/ja/guide/build-config',
'/ja/guide/css',
'/ja/guide/head',
'/ja/guide/caching',
'/ja/guide/streaming',
'/ja/guide/non-node'
]
},
'/ru/': {
label: 'Русский',
selectText: 'Переводы',
editLinkText: 'Изменить эту страницу на GitHub',
nav: [
{
text: 'Руководство',
link: '/ru/guide/'
},
{
text: 'Справочник API',
link: '/ru/api/'
}
],
sidebar: [
['/ru/', 'Введение'],
'/ru/guide/',
'/ru/guide/universal',
'/ru/guide/structure',
'/ru/guide/routing',
'/ru/guide/data',
'/ru/guide/hydration',
'/ru/guide/bundle-renderer',
'/ru/guide/build-config',
'/ru/guide/css',
'/ru/guide/head',
'/ru/guide/caching',
'/ru/guide/streaming',
'/ru/guide/non-node'
]
}
}
}
}