File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import baseConfig from '@vue/theme/config'
6
6
import { headerPlugin } from './headerMdPlugin'
7
7
import { jobsPlugin } from './jobsMdPlugin'
8
8
9
- const nav = [
9
+ const nav : ThemeConfig [ 'nav' ] = [
10
10
{
11
11
text : 'Docs' ,
12
12
activeMatch : `^/(guide|style-guide|cookbook|examples)/` ,
@@ -123,7 +123,7 @@ const nav = [
123
123
}
124
124
]
125
125
126
- export const sidebar = {
126
+ export const sidebar : ThemeConfig [ 'sidebar' ] = {
127
127
'/guide/' : [
128
128
{
129
129
text : 'Getting Started' ,
@@ -551,6 +551,10 @@ export const sidebar = {
551
551
]
552
552
}
553
553
554
+ // Placeholder of the i18n config for @vuejs -translations.
555
+ // const i18n: ThemeConfig['i18n'] = {
556
+ // }
557
+
554
558
export default defineConfigWithTheme < ThemeConfig > ( {
555
559
extends : baseConfig ,
556
560
@@ -601,6 +605,8 @@ export default defineConfigWithTheme<ThemeConfig>({
601
605
themeConfig : {
602
606
nav,
603
607
sidebar,
608
+ // Placeholder of the i18n config for @vuejs -translations.
609
+ // i18n,
604
610
605
611
algolia : {
606
612
indexName : 'vuejs' ,
You can’t perform that action at this time.
0 commit comments