Skip to content

Commit

Permalink
update: 更新vuepress
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfSweet committed Mar 23, 2024
1 parent e301790 commit 8de3126
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"docs:update-package": "pnpm dlx vp-update"
},
"devDependencies": {
"@vuepress/client": "2.0.0-rc.0",
"vue": "^3.4.5",
"vuepress": "2.0.0-rc.0",
"vuepress-theme-hope": "2.0.0-rc.10"
"vue": "^3.4.21",
"vuepress": "2.0.0-rc.8",
"vuepress-theme-hope": "2.0.0-rc.31"
},
"dependencies": {
"@vue/repl": "^3.2.0",
"chart.js": "^4.4.1",
"echarts": "^5.4.3",
"@vue/repl": "^4.1.0",
"@vuepress/bundler-vite": "2.0.0-rc.8",
"chart.js": "^4.4.2",
"echarts": "^5.5.0",
"flowchart.ts": "^3.0.0",
"katex": "^0.16.9",
"mermaid": "^10.6.1",
"reveal.js": "^5.0.4"
"mermaid": "^10.9.0",
"reveal.js": "^5.0.5"
}
}
6 changes: 6 additions & 0 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineUserConfig } from "vuepress";
import theme from "./theme.js";
import { viteBundler } from '@vuepress/bundler-vite'

export default defineUserConfig({
base: "/",
Expand All @@ -10,6 +11,11 @@ export default defineUserConfig({

theme,

bundler: viteBundler({
viteOptions: {},
vuePluginOptions: {},
}),

// Enable it with pwa
// shouldPrefetch: false,
});

0 comments on commit 8de3126

Please sign in to comment.