From 8e45e5673981ccef94fee0ce2523585e681b4af8 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 12 Jan 2022 15:17:31 +0800 Subject: [PATCH] docs: lazy laod docsearch to avoid ssr errors --- docs/.vitepress/theme/AlgoliaSearchBox.vue | 55 ++++++++++++---------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/docs/.vitepress/theme/AlgoliaSearchBox.vue b/docs/.vitepress/theme/AlgoliaSearchBox.vue index 0da8a506b5..ec546c9fd7 100644 --- a/docs/.vitepress/theme/AlgoliaSearchBox.vue +++ b/docs/.vitepress/theme/AlgoliaSearchBox.vue @@ -1,6 +1,4 @@