From 68d37e37dcfdd3a144246cfa80dd1dc5d7ce8947 Mon Sep 17 00:00:00 2001 From: lazy <52873503+the-lazy-me@users.noreply.github.com> Date: Sat, 11 Nov 2023 21:04:47 +0800 Subject: [PATCH] Update config.ts --- src/.vuepress/config.ts | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 9c41c5807..17cdc71a8 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -10,23 +10,23 @@ export default defineUserConfig({ description: "QChatGPT项目的Wiki页", theme, - //plugins: [ - // searchProPlugin({ - // 索引全部内容 - // indexContent: true, - // 为分类和标签添加索引 - // customFields: [ - { - // getter: (page) => page.frontmatter.category, - // formatter: "分类:$content", - // }, - // { - // getter: (page) => page.frontmatter.tag, - // formatter: "标签:$content", - // }, - // ], - // }), - //], + // plugins: [ + // searchProPlugin({ + // // 索引全部内容 + // indexContent: true, + // // 为分类和标签添加索引 + // customFields: [ + // { + // getter: (page) => page.frontmatter.category, + // formatter: "分类:$content", + // }, + // { + // getter: (page) => page.frontmatter.tag, + // formatter: "标签:$content", + // }, + // ], + // }), + // ], // Enable it with pwa // shouldPrefetch: false, head: [