@@ -124,23 +124,13 @@ export default defineConfig({
124
124
] ,
125
125
126
126
locales : {
127
- < << << << HEAD
128
127
root : { label : '简体中文' } ,
129
- en : { label : 'English' , link : 'https://vitejs.dev' } ,
130
- ja : { label : '日本語' , link : 'https://ja.vitejs.dev' } ,
131
- es : { label : 'Español' , link : 'https://es.vitejs.dev' } ,
132
- pt : { label : 'Português' , link : 'https://pt.vitejs.dev' } ,
133
- ko : { label : '한국어' , link : 'https://ko.vitejs.dev' } ,
134
- de : { label : 'Deutsch' , link : 'https://de.vitejs.dev' } ,
135
- = === ===
136
- root : { label : 'English' } ,
137
- zh : { label : '简体中文' , link : 'https://cn.vite.dev' } ,
128
+ en : { label : 'English' , link : 'https://vite.dev' } ,
138
129
ja : { label : '日本語' , link : 'https://ja.vite.dev' } ,
139
130
es : { label : 'Español' , link : 'https://es.vite.dev' } ,
140
131
pt : { label : 'Português' , link : 'https://pt.vite.dev' } ,
141
132
ko : { label : '한국어' , link : 'https://ko.vite.dev' } ,
142
133
de : { label : 'Deutsch' , link : 'https://de.vite.dev' } ,
143
- > >>> >>> 0 fd7d2e8b36cf55fe5385ff2f957b92e9d44054b
144
134
} ,
145
135
146
136
themeConfig : {
@@ -218,12 +208,8 @@ export default defineConfig({
218
208
219
209
footer : {
220
210
message : `Released under the MIT License. (${ commitRef } )` ,
221
- < << << << HEAD
222
211
copyright :
223
- '本中文文档内容版权为 Vite 官方中文翻译团队所有,保留所有权利。'
224
- === = ===
225
- copyright : 'Copyright © 2019-present VoidZero Inc. & Vite Contributors' ,
226
- > >>> >>> 0 fd7d2e8b36cf55fe5385ff2f957b92e9d44054b
212
+ 'Copyright © 2019-present VoidZero Inc. & Vite Contributors'
227
213
} ,
228
214
229
215
nav : [
@@ -247,13 +233,8 @@ export default defineConfig({
247
233
link : 'https://twitter.com/vite_js' ,
248
234
} ,
249
235
{
250
- < << << << HEAD
251
236
text : 'Discord 聊天室' ,
252
- link : 'https://chat.vitejs.dev'
253
- === = ===
254
- text : 'Discord Chat' ,
255
237
link : 'https://chat.vite.dev' ,
256
- > >>> >>> 0 fd7d2e8b36cf55fe5385ff2f957b92e9d44054b
257
238
} ,
258
239
{
259
240
text : 'Awesome Vite' ,
@@ -284,15 +265,15 @@ export default defineConfig({
284
265
items : [
285
266
{
286
267
text : 'Vite v4 文档(英文)' ,
287
- link : 'https://v4.vitejs .dev'
268
+ link : 'https://v4.vite .dev'
288
269
} ,
289
270
{
290
271
text : 'Vite v3 文档(英文)' ,
291
- link : 'https://v3.vitejs .dev'
272
+ link : 'https://v3.vite .dev'
292
273
} ,
293
274
{
294
275
text : 'Vite v2 文档(英文)' ,
295
- link : 'https://v2.vitejs .dev'
276
+ link : 'https://v2.vite .dev'
296
277
} ,
297
278
]
298
279
}
@@ -368,16 +349,11 @@ export default defineConfig({
368
349
link : '/guide/philosophy' ,
369
350
} ,
370
351
{
371
- < << << << HEAD
372
- text : '从 v4 迁移' ,
352
+ text : '从 v5 迁移' ,
373
353
link : '/guide/migration'
374
- === = ===
375
- text : 'Migration from v5' ,
376
- link : '/guide/migration' ,
377
- > >>> >>> 0 fd7d2e8b36cf55fe5385ff2f957b92e9d44054b
378
354
} ,
379
355
{
380
- text : 'Breaking Changes ' ,
356
+ text : '破坏性变更 ' ,
381
357
link : '/changes/' ,
382
358
} ,
383
359
] ,
@@ -398,13 +374,8 @@ export default defineConfig({
398
374
link : '/guide/api-javascript' ,
399
375
} ,
400
376
{
401
- < << << << HEAD
402
- text : 'Vite 运行时 API' ,
403
- link : '/guide/api-vite-runtime' ,
404
- = === ===
405
- text : 'Environment API' ,
377
+ text : '环境 API' ,
406
378
link : '/guide/api-environment' ,
407
- > >>> >>> 0 fd7d2e8b36cf55fe5385ff2f957b92e9d44054b
408
379
} ,
409
380
{
410
381
text : '配置参考' ,
@@ -454,40 +425,40 @@ export default defineConfig({
454
425
] ,
455
426
'/changes/' : [
456
427
{
457
- text : 'Breaking Changes ' ,
428
+ text : '破坏性变更 ' ,
458
429
link : '/changes/' ,
459
430
} ,
460
431
{
461
- text : 'Current ' ,
432
+ text : '现在 ' ,
462
433
items : [ ] ,
463
434
} ,
464
435
{
465
- text : 'Future ' ,
436
+ text : '未来 ' ,
466
437
items : [
467
438
{
468
- text : 'this.environment in Hooks ' ,
439
+ text : '钩子函数中的 this.environment' ,
469
440
link : '/changes/this-environment-in-hooks' ,
470
441
} ,
471
442
{
472
- text : 'HMR hotUpdate Plugin Hook ' ,
443
+ text : 'HMR hotUpdate 插件钩子 ' ,
473
444
link : '/changes/hotupdate-hook' ,
474
445
} ,
475
446
{
476
- text : 'Move to per-environment APIs ' ,
447
+ text : '迁移到按环境划分的 API ' ,
477
448
link : '/changes/per-environment-apis' ,
478
449
} ,
479
450
{
480
- text : 'SSR using ModuleRunner API' ,
451
+ text : '使用 ModuleRunner API 进行服务端渲染 ' ,
481
452
link : '/changes/ssr-using-modulerunner' ,
482
453
} ,
483
454
{
484
- text : 'Shared plugins during build ' ,
455
+ text : '构建过程中的共享插件 ' ,
485
456
link : '/changes/shared-plugins-during-build' ,
486
457
} ,
487
458
] ,
488
459
} ,
489
460
{
490
- text : 'Past ' ,
461
+ text : '过去 ' ,
491
462
items : [ ] ,
492
463
} ,
493
464
] ,
0 commit comments