Skip to content

Commit 4acd127

Browse files
committed
add link to v2 docs in docs dropdown
close #1689
1 parent 4560bc1 commit 4acd127

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.vitepress/config.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ const nav = [
1414
{ text: 'Tutorial', link: '/tutorial/' },
1515
{ text: 'Examples', link: '/examples/' },
1616
{ text: 'Quick Start', link: '/guide/quick-start' },
17-
{ text: 'Style Guide', link: '/style-guide/' },
17+
// { text: 'Style Guide', link: '/style-guide/' },
18+
{
19+
text: 'Vue 2 Docs',
20+
link: 'https://v2.vuejs.org'
21+
},
1822
{
1923
text: 'Migration from Vue 2',
2024
link: 'https://v3-migration.vuejs.org/'
@@ -110,7 +114,7 @@ const nav = [
110114
{
111115
text: 'Partners',
112116
link: '/partners/',
113-
activeMatch: `^/partners/`,
117+
activeMatch: `^/partners/`
114118
}
115119
]
116120

0 commit comments

Comments
 (0)