@@ -18,12 +18,13 @@ import {
1818const nav : ThemeConfig [ 'nav' ] = [
1919 {
2020 text : '文档' ,
21- activeMatch : `^/(guide|style-guide|cookbook| examples)/` ,
21+ activeMatch : `^/(guide|tutorial| examples|api|glossary|error-reference )/` ,
2222 items : [
23+ { text : '快速上手' , link : '/guide/quick-start' } ,
2324 { text : '深度指南' , link : '/guide/introduction' } ,
2425 { text : '互动教程' , link : '/tutorial/' } ,
2526 { text : '示例' , link : '/examples/' } ,
26- { text : '快速上手 ' , link : '/guide/quick-start ' } ,
27+ { text : 'API ' , link : '/api/ ' } ,
2728 // { text: '风格指南', link: '/style-guide/' },
2829 { text : '术语表' , link : '/glossary/' } ,
2930 { text : '错误码参照表' , link : '/error-reference/' } ,
@@ -37,11 +38,6 @@ const nav: ThemeConfig['nav'] = [
3738 }
3839 ]
3940 } ,
40- {
41- text : 'API' ,
42- activeMatch : `^/api/` ,
43- link : '/api/'
44- } ,
4541 {
4642 text : '演练场' ,
4743 link : 'https://play.vuejs.org'
@@ -53,7 +49,6 @@ const nav: ThemeConfig['nav'] = [
5349 {
5450 text : '资源' ,
5551 items : [
56- { text : '合作伙伴' , link : '/partners/' } ,
5752 { text : '主题' , link : '/ecosystem/themes' } ,
5853 { text : 'UI 组件' , link : 'https://ui-libs.vercel.app/' } ,
5954 {
@@ -134,13 +129,12 @@ const nav: ThemeConfig['nav'] = [
134129 ]
135130 } ,
136131 {
137- text : '赞助' ,
138- link : '/sponsor/'
139- } ,
140- {
141- text : '合作伙伴' ,
142- activeMatch : `^/partners/` ,
143- link : '/partners/'
132+ text : '支持' ,
133+ activeMatch : `^/(sponsor|partners)/` ,
134+ items : [
135+ { text : 'Sponsor' , link : '/sponsor/' } ,
136+ { text : 'Partners' , link : '/partners/' }
137+ ]
144138 }
145139]
146140
@@ -702,6 +696,11 @@ export default defineConfigWithTheme<ThemeConfig>({
702696 text : 'Français' ,
703697 repo : 'https://github.com/vuejs-translations/docs-fr'
704698 } ,
699+ {
700+ link : 'https://de.vuejs.org' ,
701+ text : 'Deutsch' ,
702+ repo : 'https://github.com/vuejs-translations/docs-de'
703+ } ,
705704 {
706705 link : 'https://ko.vuejs.org' ,
707706 text : '한국어' ,
0 commit comments