迁移 Vue-hope-theme 至 V2
This commit is contained in:
parent
9020e3268a
commit
fb5c58ab8e
@ -2,7 +2,7 @@
|
||||
|
||||
## 开发
|
||||
1. 依赖环境
|
||||
- Node.js v16.20.2
|
||||
- Node.js v20.11.0
|
||||
- volta
|
||||
1. 建议使用 [volta](https://volta.sh/) 安装 [Node.js](https://nodejs.org/)
|
||||
```sh
|
||||
|
17912
package-lock.json
generated
17912
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -10,12 +10,12 @@
|
||||
"docs:update-package": "npx vp-update"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/client": "2.0.0-beta.66",
|
||||
"vue": "^3.2.47",
|
||||
"vuepress": "2.0.0-beta.66",
|
||||
"vuepress-theme-hope": "2.0.0-beta.234"
|
||||
"@vuepress/bundler-vite": "^2.0.0-rc.7",
|
||||
"vue": "^3.4.18",
|
||||
"vuepress": "2.0.0-rc.7",
|
||||
"vuepress-theme-hope": "2.0.0-rc.23"
|
||||
},
|
||||
"volta": {
|
||||
"node": "16.20.2"
|
||||
"node": "20.11.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,12 @@
|
||||
import { defineUserConfig } from "vuepress";
|
||||
import theme from "./theme.js";
|
||||
import { viteBundler } from '@vuepress/bundler-vite'
|
||||
import { defineUserConfig } from "vuepress"
|
||||
import theme from "./theme.js"
|
||||
|
||||
export default defineUserConfig({
|
||||
bundler: viteBundler({
|
||||
viteOptions: {},
|
||||
vuePluginOptions: {},
|
||||
}),
|
||||
base: "/jingji/sp/",
|
||||
|
||||
lang: "zh-CN",
|
||||
|
@ -70,7 +70,6 @@ export default hopeTheme({
|
||||
playground: {
|
||||
presets: ["ts", "vue"],
|
||||
},
|
||||
presentation: ["highlight", "math", "search", "notes", "zoom"],
|
||||
stylize: [
|
||||
{
|
||||
matcher: "Recommended",
|
||||
|
Loading…
x
Reference in New Issue
Block a user