Skip to content

Commit 31f90c7

Browse files
committed
Merge remote-tracking branch 'upstream/master' into working
# Conflicts resolved: # README.md # docs/README.md # docs/guide/README.md # docs/guide/build-config.md # docs/guide/bundle-renderer.md # docs/guide/caching.md # docs/guide/css.md # docs/guide/hydration.md # docs/guide/streaming.md # docs/guide/structure.md # docs/guide/universal.md # en/SUMMARY.md # en/api.md
2 parents 1927dec + ca042b4 commit 31f90c7

File tree

134 files changed

+10670
-598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+10670
-598
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules
22
.DS_Store
3-
_book
4-
test
3+
.idea
4+
docs/.vuepress/dist

CNAME

-1
This file was deleted.

LANGS.md

-6
This file was deleted.

book.json

-19
This file was deleted.

deploy.sh

-10
This file was deleted.

docs/.vuepress/config.js

+155
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
module.exports = {
2+
locales: {
3+
'/': {
4+
lang: 'en-US',
5+
title: 'Vue SSR Guide',
6+
description: 'Vue.js Server-Side Rendering Guide'
7+
},
8+
'/zh/': {
9+
lang: 'zh-CN',
10+
title: 'Vue SSR 指南',
11+
description: 'Vue.js 服务端渲染指南'
12+
},
13+
'/ja/': {
14+
lang: 'ja',
15+
title: 'Vue SSR ガイド',
16+
description: 'Vue.js サーバーサイドレンダリングガイド'
17+
},
18+
'/ru/': {
19+
lang: 'ru',
20+
title: 'Руководство Vue SSR',
21+
description: 'Руководство по серверному рендерингу Vue.js'
22+
}
23+
},
24+
serviceWorker: true,
25+
theme: 'vue',
26+
themeConfig: {
27+
repo: 'vuejs/vue-ssr-docs',
28+
docsDir: 'docs',
29+
locales: {
30+
'/': {
31+
label: 'English',
32+
selectText: 'Languages',
33+
editLinkText: 'Edit this page on GitHub',
34+
nav: [
35+
{
36+
text: 'Guide',
37+
link: '/guide/'
38+
},
39+
{
40+
text: 'API Reference',
41+
link: '/api/'
42+
}
43+
],
44+
sidebar: [
45+
['/', 'Introduction'],
46+
'/guide/',
47+
'/guide/universal',
48+
'/guide/structure',
49+
'/guide/routing',
50+
'/guide/data',
51+
'/guide/hydration',
52+
'/guide/bundle-renderer',
53+
'/guide/build-config',
54+
'/guide/css',
55+
'/guide/head',
56+
'/guide/caching',
57+
'/guide/streaming',
58+
'/guide/non-node'
59+
]
60+
},
61+
'/zh/': {
62+
label: '简体中文',
63+
selectText: '选择语言',
64+
editLinkText: '在 GitHub 上编辑此页',
65+
nav: [
66+
{
67+
text: '指南',
68+
link: '/zh/guide/'
69+
},
70+
{
71+
text: 'API 参考',
72+
link: '/zh/api/'
73+
}
74+
],
75+
sidebar: [
76+
['/zh/', '介绍'],
77+
'/zh/guide/',
78+
'/zh/guide/universal',
79+
'/zh/guide/structure',
80+
'/zh/guide/routing',
81+
'/zh/guide/data',
82+
'/zh/guide/hydration',
83+
'/zh/guide/bundle-renderer',
84+
'/zh/guide/build-config',
85+
'/zh/guide/css',
86+
'/zh/guide/head',
87+
'/zh/guide/caching',
88+
'/zh/guide/streaming',
89+
'/zh/guide/non-node'
90+
]
91+
},
92+
'/ja/': {
93+
label: '日本語',
94+
selectText: '言語',
95+
editLinkText: 'GitHub 上でこのページを編集する',
96+
nav: [{
97+
text: 'ガイド',
98+
link: '/ja/guide/'
99+
},
100+
{
101+
text: 'API リファレンス',
102+
link: '/ja/api/'
103+
}
104+
],
105+
sidebar: [
106+
['/ja/', 'はじめに'],
107+
'/ja/guide/',
108+
'/ja/guide/universal',
109+
'/ja/guide/structure',
110+
'/ja/guide/routing',
111+
'/ja/guide/data',
112+
'/ja/guide/hydration',
113+
'/ja/guide/bundle-renderer',
114+
'/ja/guide/build-config',
115+
'/ja/guide/css',
116+
'/ja/guide/head',
117+
'/ja/guide/caching',
118+
'/ja/guide/streaming',
119+
'/ja/guide/non-node'
120+
]
121+
},
122+
'/ru/': {
123+
label: 'Русский',
124+
selectText: 'Переводы',
125+
editLinkText: 'Изменить эту страницу на GitHub',
126+
nav: [
127+
{
128+
text: 'Руководство',
129+
link: '/ru/guide/'
130+
},
131+
{
132+
text: 'Справочник API',
133+
link: '/ru/api/'
134+
}
135+
],
136+
sidebar: [
137+
['/ru/', 'Введение'],
138+
'/ru/guide/',
139+
'/ru/guide/universal',
140+
'/ru/guide/structure',
141+
'/ru/guide/routing',
142+
'/ru/guide/data',
143+
'/ru/guide/hydration',
144+
'/ru/guide/bundle-renderer',
145+
'/ru/guide/build-config',
146+
'/ru/guide/css',
147+
'/ru/guide/head',
148+
'/ru/guide/caching',
149+
'/ru/guide/streaming',
150+
'/ru/guide/non-node'
151+
]
152+
}
153+
}
154+
}
155+
}

docs/.vuepress/public/_redirects

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/en/ /
2+
/en/api.html /api/
3+
/en/basic.html /guide/
4+
/en/* /guide/:splat
5+
6+
/zh/ /zh/
7+
/zh/api.html /zh/api/
8+
/zh/basic.html /zh/guide/
9+
/zh/* /zh/guide/:splat
10+
11+
/ru/ /ru/
12+
/ru/api.html /ru/api/
13+
/ru/basic.html /ru/guide/
14+
/ru/* /ru/guide/:splat
15+
16+
/ja/ /ja/
17+
/ja/api.html /ja/api/
18+
/ja/basic.html /ja/guide/
19+
/ja/* /ja/guide/:splat

fr/README.md renamed to docs/README.md

+9-6

0 commit comments

Comments
 (0)