From a26254afcf47dbe1269813ddf4e877d81fa008a5 Mon Sep 17 00:00:00 2001 From: ZTL-UwU Date: Sat, 25 May 2024 12:04:25 +0800 Subject: [PATCH] feat: search config Signed-off-by: ZTL-UwU --- app.config.ts | 4 ++++ components/layout/Aside.vue | 7 ++++--- components/layout/Header.vue | 2 +- components/layout/{Header => }/SearchButton.vue | 5 ++++- 4 files changed, 13 insertions(+), 5 deletions(-) rename components/layout/{Header => }/SearchButton.vue (69%) diff --git a/app.config.ts b/app.config.ts index b57a6ab9..2ade355c 100644 --- a/app.config.ts +++ b/app.config.ts @@ -69,5 +69,9 @@ export default defineAppConfig({ enable: true, title: 'On This Page', }, + search: { + enable: true, + inAside: false, + }, }, }); diff --git a/components/layout/Aside.vue b/components/layout/Aside.vue index e4129461..c93ddf9e 100644 --- a/components/layout/Aside.vue +++ b/components/layout/Aside.vue @@ -1,7 +1,8 @@