Skip to content

Commit

Permalink
docs: link correctly to vite 5/6 docs versions
Browse files Browse the repository at this point in the history
resolved #1060
  • Loading branch information
Gumball12 committed Dec 7, 2024
1 parent fea473b commit 4cf05b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const deployType = (() => {

const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
const oldVersions: DefaultTheme.NavItemWithLink[] = [
{
text: 'Vite 5 문서',
link: 'https://v5.vite.dev',
},
{
text: 'Vite 4 문서',
link: 'https://v4.vite.dev',
Expand All @@ -53,7 +57,7 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
case 'local':
return [
{
text: 'Vite 5 문서 (릴리스)',
text: 'Vite 6 문서 (릴리스)',
link: 'https://ko.vite.dev',
},
...oldVersions,
Expand Down

0 comments on commit 4cf05b2

Please sign in to comment.