From 452c314c8f2623c6bf34f427c5942d6cecc83f5d Mon Sep 17 00:00:00 2001 From: Koy Zhuang <369491420@qq.com> Date: Wed, 26 Oct 2022 22:36:01 +0800 Subject: [PATCH] Revert "fix: Legacy bugs (styles, site plugin error, and dev server error) (#1743)" This reverts commit 84837e36ff231e202b971f46550516439b141e8b. --- docs/index.html | 42 +++++++++++++++++--------------- index.html | 8 +++--- src/plugins/search/component.js | 12 +++------ src/themes/basic/_coverpage.styl | 5 ---- src/themes/basic/_layout.styl | 8 ------ src/themes/buble.styl | 2 -- src/themes/dark.styl | 5 ---- src/themes/dolphin.styl | 7 +----- src/themes/vue.styl | 5 ---- test/config/server.js | 16 +++--------- 10 files changed, 35 insertions(+), 75 deletions(-) diff --git a/docs/index.html b/docs/index.html index ef03476d6a..de3ce26630 100644 --- a/docs/index.html +++ b/docs/index.html @@ -55,7 +55,7 @@
Loading ...
- + diff --git a/index.html b/index.html index 388969e8c2..206c1fe3dd 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@
- + - ${match} `; - return newSnippet; + return injectJS + snippet + match; }, }, },