diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 67ab9867..2cddf2e7 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -86,6 +86,18 @@ const config: UserConfig = { }, }, ], + [ + '@vuepress/docsearch', + { + apiKey: '09ff75bbe16bc6e166e103ffb57e10ea', + indexName: 'fesjs', + locales: { + '/': { + placeholder: '搜索文档', + }, + }, + }, + ], ], } diff --git a/packages/fes-template/.fes.js b/packages/fes-template/.fes.js index 2d2b290b..0ac088fa 100644 --- a/packages/fes-template/.fes.js +++ b/packages/fes-template/.fes.js @@ -36,7 +36,7 @@ export default { layout: { title: 'Fes.js', footer: 'Created by MumbleFE', - multiTabs: true, + multiTabs: false, navigation: 'side', theme: 'dark', menus: [