docs: 文档搜索

This commit is contained in:
wanchun 2022-06-15 15:36:49 +08:00
parent bd3542a184
commit 974cf2d78a
2 changed files with 13 additions and 1 deletions

View File

@ -86,6 +86,18 @@ const config: UserConfig<DefaultThemeOptions> = {
},
},
],
[
'@vuepress/docsearch',
{
apiKey: '09ff75bbe16bc6e166e103ffb57e10ea',
indexName: 'fesjs',
locales: {
'/': {
placeholder: '搜索文档',
},
},
},
],
],
}

View File

@ -36,7 +36,7 @@ export default {
layout: {
title: 'Fes.js',
footer: 'Created by MumbleFE',
multiTabs: true,
multiTabs: false,
navigation: 'side',
theme: 'dark',
menus: [