Skip to content

Commit 4ccbbbb

Browse files
committed
docs: fix link
1 parent 324ba0b commit 4ccbbbb

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

docs/.vitepress/components/HomeSponsors.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import sponsors from './sponsors.json'
2323
const translations = {
2424
'en-US': 'Become a Sponsor!',
2525
'zh-CN': '成为赞助者!',
26+
'ko-KR': '스폰서가 되어 주세요!',
2627
}
2728
</script>
2829

docs/.vitepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV === 'production') {
1515

1616
/** @type {UserConfig} */
1717
const config = {
18-
lang: 'en-US',
18+
lang: 'en',
1919
title: 'Vue Router',
2020
description: 'The official router for Vue.js.',
2121
head,
@@ -310,7 +310,7 @@ const config = {
310310
],
311311
},
312312
'/ko/': {
313-
lang: 'ko-KRN',
313+
lang: 'ko-KR',
314314
label: '한국어',
315315
selectText: '언어',
316316
title: 'Vue Router',

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ features:
2222
footer: MIT Licensed | Copyright © 2014-present Evan You, Eduardo San Martin Morote
2323
---
2424

25-
25+
<HomeSponsors />
2626

2727
<script setup>
28-
//import HomeSponsors from '.vitepress/components/HomeSponsors.vue'
28+
import HomeSponsors from '.vitepress/components/HomeSponsors.vue'
2929
</script>

docs/ko/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ home: true
33

44
heroImage: /logo.png
55
actionText: 시작하기 →
6-
actionLink: /installation.html
6+
actionLink: /ko/installation.html
77

88
features:
99
- title: 🛣 강력한 경로 표현 문법
@@ -22,3 +22,8 @@ features:
2222
footer: MIT Licensed | Copyright © 2014-present Evan You, Eduardo San Martin Morote
2323
---
2424

25+
<HomeSponsors />
26+
27+
<script setup>
28+
import HomeSponsors from '../.vitepress/components/HomeSponsors.vue'
29+
</script>

0 commit comments

Comments
 (0)