From 66ee0e27194031e8af3e0eee0089d5dc70517d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=AF=E6=98=8E?= <455043818@qq.com> Date: Mon, 14 Oct 2024 15:31:20 +0800 Subject: [PATCH] =?UTF-8?q?chore:10=E6=9C=8814=E6=97=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.mts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 372e6e30eb..6f972d0299 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -20,6 +20,9 @@ export default defineConfig({ // themeConfig: { // https://vitepress.dev/reference/default-theme-config + search: { + provider: 'local' + }, nav: [ { text: "首页", link: "/" }, { text: "我的笔记", link: "/daily/" }, @@ -105,5 +108,5 @@ export default defineConfig({ socialLinks: [ { icon: 'github', link: 'https://github.com/aehyok' } ] - } + }, })