diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 1f52f67df..9c41c5807 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -1,6 +1,6 @@ import { defineUserConfig } from "vuepress"; import theme from "./theme.js"; -import { searchProPlugin } from "vuepress-plugin-search-pro"; +//import { searchProPlugin } from "vuepress-plugin-search-pro"; export default defineUserConfig({ base: "/", @@ -10,23 +10,23 @@ export default defineUserConfig({ description: "QChatGPT项目的Wiki页", theme, - plugins: [ - searchProPlugin({ + //plugins: [ + // searchProPlugin({ // 索引全部内容 - indexContent: true, + // indexContent: true, // 为分类和标签添加索引 - customFields: [ + // customFields: [ { - getter: (page) => page.frontmatter.category, - formatter: "分类:$content", - }, - { - getter: (page) => page.frontmatter.tag, - formatter: "标签:$content", - }, - ], - }), - ], + // getter: (page) => page.frontmatter.category, + // formatter: "分类:$content", + // }, + // { + // getter: (page) => page.frontmatter.tag, + // formatter: "标签:$content", + // }, + // ], + // }), + //], // Enable it with pwa // shouldPrefetch: false, head: [