mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
docs: add link to v3 docs (#11196)
This commit is contained in:
parent
4ec9f53d6f
commit
074b63eaea
@ -35,9 +35,13 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
|
||||
case 'local':
|
||||
return [
|
||||
{
|
||||
text: 'Vite 3 Docs (release)',
|
||||
text: 'Vite 4 Docs (release)',
|
||||
link: 'https://vitejs.dev',
|
||||
},
|
||||
{
|
||||
text: 'Vite 3 Docs',
|
||||
link: 'https://v3.vitejs.dev',
|
||||
},
|
||||
{
|
||||
text: 'Vite 2 Docs',
|
||||
link: 'https://v2.vitejs.dev',
|
||||
@ -45,6 +49,10 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
|
||||
]
|
||||
case 'release':
|
||||
return [
|
||||
{
|
||||
text: 'Vite 3 Docs',
|
||||
link: 'https://v3.vitejs.dev',
|
||||
},
|
||||
{
|
||||
text: 'Vite 2 Docs',
|
||||
link: 'https://v2.vitejs.dev',
|
||||
|
Loading…
Reference in New Issue
Block a user