Skip to content

Commit fc916cc

Browse files
committed
add translation
1 parent 1a84df3 commit fc916cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vitepress/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export default defineConfig({
287287
link: '/guide/performance'
288288
},
289289
{
290-
text: `Migration from v${viteMajorVersion - 1}`,
290+
text: `v${viteMajorVersion - 1} 迁移`,
291291
link: '/guide/migration'
292292
},
293293
{
@@ -456,7 +456,7 @@ export default defineConfig({
456456
// languages used for twoslash and jsdocs in twoslash
457457
languages: ['ts', 'js', 'json'],
458458
codeTransformers: [
459-
transformerTwoslash(),
459+
transformerTwoslash() as any,
460460
// add `style:*` support
461461
{
462462
root(hast) {

0 commit comments

Comments
 (0)