From 4057b3c6c66e17e4c39d0df13464921f6dd19660 Mon Sep 17 00:00:00 2001 From: theniceangel Date: Thu, 18 Feb 2021 10:07:43 +0800 Subject: [PATCH] docs(vuepress-config): add docsearch plugin --- packages/vuepress-docs/docs/.vuepress/config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/vuepress-docs/docs/.vuepress/config.js b/packages/vuepress-docs/docs/.vuepress/config.js index 138b2dde..c99ff3b9 100644 --- a/packages/vuepress-docs/docs/.vuepress/config.js +++ b/packages/vuepress-docs/docs/.vuepress/config.js @@ -34,6 +34,10 @@ module.exports = { }, themeConfig: { smoothScroll: true, + algolia: { + apiKey: '93916bfd4dd5ed93f9b7c0d9c9854404', + indexName: 'better-scroll' + }, logo: 'https://dpubstatic.udache.com/static/dpubimg/t_L6vAgQ-E/logo.svg', locales: { '/zh-CN/': {