mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
Fix error
- debug purpose
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Snap.Hutao.Docs
|
||||
Documents for Snap Hutao project
|
||||
Documents for [Snap Hutao project](https://github.com/DGP-Studio/Snap.Hutao)
|
||||
|
||||
## 使用方法
|
||||
### 第一次安装
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { defineUserConfig } from "vuepress";
|
||||
import { viteBundler } from '@vuepress/bundler-vite'
|
||||
import theme from "./theme.js";
|
||||
import { searchProPlugin } from "vuepress-plugin-search-pro";
|
||||
|
||||
export default defineUserConfig({
|
||||
base: "/",
|
||||
@@ -27,21 +26,6 @@ export default defineUserConfig({
|
||||
},
|
||||
},
|
||||
|
||||
plugins: [
|
||||
searchProPlugin({
|
||||
indexContent: true,
|
||||
customFields:[
|
||||
{
|
||||
getter: (page) => page.frontmatter.category,
|
||||
formatter: {
|
||||
"/": "分类: $content",
|
||||
"/en/": "Category:$content",
|
||||
},
|
||||
},
|
||||
]
|
||||
})
|
||||
],
|
||||
|
||||
theme,
|
||||
|
||||
shouldPrefetch: false,
|
||||
|
||||
76
package-lock.json
generated
76
package-lock.json
generated
@@ -12,7 +12,6 @@
|
||||
"@vuepress/client": "2.0.0-beta.60",
|
||||
"vue": "^3.2.29",
|
||||
"vuepress": "^2.0.0-beta.60",
|
||||
"vuepress-plugin-search-pro": "^2.0.0-beta.156",
|
||||
"vuepress-theme-hope": "^2.0.0-beta.157"
|
||||
}
|
||||
},
|
||||
@@ -8351,62 +8350,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/vuepress-plugin-search-pro": {
|
||||
"version": "2.0.0-beta.157",
|
||||
"resolved": "https://registry.npmjs.org/vuepress-plugin-search-pro/-/vuepress-plugin-search-pro-2.0.0-beta.157.tgz",
|
||||
"integrity": "sha512-oLTfEXkUdNlG5OClmHvCMIdujVQnK43B+xqdG6bX8K5QFI55tPiKFRHyNq2LcSXfg8zeHZzIaVFHtxgoHCAA3g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@vuepress/client": "2.0.0-beta.60",
|
||||
"@vuepress/shared": "2.0.0-beta.60",
|
||||
"@vuepress/utils": "2.0.0-beta.60",
|
||||
"@vueuse/core": "^9.10.0",
|
||||
"body-scroll-lock": "^3.1.5",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"chokidar": "^3.5.3",
|
||||
"vue": "^3.2.45",
|
||||
"vue-router": "^4.1.6",
|
||||
"vuepress-plugin-sass-palette": "2.0.0-beta.157",
|
||||
"vuepress-shared": "2.0.0-beta.157"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.18.0 || >=16.0.0",
|
||||
"npm": ">=8",
|
||||
"pnpm": ">=7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vuepress/client": "2.0.0-beta.60",
|
||||
"sass-loader": "^13.2.0",
|
||||
"vuepress": "2.0.0-beta.60",
|
||||
"vuepress-plugin-sass-palette": "2.0.0-beta.157",
|
||||
"vuepress-shared": "2.0.0-beta.157",
|
||||
"vuepress-vite": "2.0.0-beta.60",
|
||||
"vuepress-webpack": "2.0.0-beta.60"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@vuepress/client": {
|
||||
"optional": true
|
||||
},
|
||||
"sass-loader": {
|
||||
"optional": true
|
||||
},
|
||||
"vuepress": {
|
||||
"optional": true
|
||||
},
|
||||
"vuepress-plugin-sass-palette": {
|
||||
"optional": true
|
||||
},
|
||||
"vuepress-shared": {
|
||||
"optional": true
|
||||
},
|
||||
"vuepress-vite": {
|
||||
"optional": true
|
||||
},
|
||||
"vuepress-webpack": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/vuepress-plugin-seo2": {
|
||||
"version": "2.0.0-beta.157",
|
||||
"resolved": "https://registry.npmjs.org/vuepress-plugin-seo2/-/vuepress-plugin-seo2-2.0.0-beta.157.tgz",
|
||||
@@ -15044,25 +14987,6 @@
|
||||
"vuepress-shared": "2.0.0-beta.157"
|
||||
}
|
||||
},
|
||||
"vuepress-plugin-search-pro": {
|
||||
"version": "2.0.0-beta.157",
|
||||
"resolved": "https://registry.npmjs.org/vuepress-plugin-search-pro/-/vuepress-plugin-search-pro-2.0.0-beta.157.tgz",
|
||||
"integrity": "sha512-oLTfEXkUdNlG5OClmHvCMIdujVQnK43B+xqdG6bX8K5QFI55tPiKFRHyNq2LcSXfg8zeHZzIaVFHtxgoHCAA3g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@vuepress/client": "2.0.0-beta.60",
|
||||
"@vuepress/shared": "2.0.0-beta.60",
|
||||
"@vuepress/utils": "2.0.0-beta.60",
|
||||
"@vueuse/core": "^9.10.0",
|
||||
"body-scroll-lock": "^3.1.5",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"chokidar": "^3.5.3",
|
||||
"vue": "^3.2.45",
|
||||
"vue-router": "^4.1.6",
|
||||
"vuepress-plugin-sass-palette": "2.0.0-beta.157",
|
||||
"vuepress-shared": "2.0.0-beta.157"
|
||||
}
|
||||
},
|
||||
"vuepress-plugin-seo2": {
|
||||
"version": "2.0.0-beta.157",
|
||||
"resolved": "https://registry.npmjs.org/vuepress-plugin-seo2/-/vuepress-plugin-seo2-2.0.0-beta.157.tgz",
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
"@vuepress/client": "2.0.0-beta.60",
|
||||
"vue": "^3.2.29",
|
||||
"vuepress": "^2.0.0-beta.60",
|
||||
"vuepress-plugin-search-pro": "^2.0.0-beta.156",
|
||||
"vuepress-theme-hope": "^2.0.0-beta.157"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user