update deps
1. 更新依赖 2. 更新项目README文件 3. 修复了大量配置问题,跟进当前版本 4. 新增了一些新组件
This commit is contained in:
parent
1944854923
commit
901bea0630
@ -27,5 +27,5 @@ pnpm run docs:build
|
||||
|
||||
5. 更新依赖
|
||||
```sh
|
||||
pnpx vp-update
|
||||
pnpm dlx vp-update
|
||||
```
|
20
package.json
20
package.json
@ -5,22 +5,22 @@
|
||||
"license": "GPL-3.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"docs:build": "vuepress build src",
|
||||
"docs:clean-dev": "vuepress dev src --clean-cache",
|
||||
"docs:dev": "vuepress dev src",
|
||||
"docs:update-package": "npx vp-update"
|
||||
"docs:build": "vuepress-vite build src",
|
||||
"docs:clean-dev": "vuepress-vite dev src --clean-cache",
|
||||
"docs:dev": "vuepress-vite dev src",
|
||||
"docs:update-package": "pnpm dlx vp-update"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/bundler-vite": "2.0.0-rc.15",
|
||||
"katex": "^0.16.11",
|
||||
"vue": "^3.5.0",
|
||||
"vuepress": "2.0.0-rc.15",
|
||||
"vuepress-theme-hope": "2.0.0-rc.52"
|
||||
"@vuepress/bundler-vite": "2.0.0-rc.18",
|
||||
"sass-embedded": "^1.80.6",
|
||||
"vue": "^3.5.12",
|
||||
"vuepress": "2.0.0-rc.18",
|
||||
"vuepress-theme-hope": "2.0.0-rc.59"
|
||||
},
|
||||
"volta": {
|
||||
"node": "20.17.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"vuepress-plugin-md-enhance": "2.0.0-rc.52"
|
||||
"katex": "^0.16.11"
|
||||
}
|
||||
}
|
||||
|
2367
pnpm-lock.yaml
generated
2367
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,7 @@
|
||||
import { viteBundler } from '@vuepress/bundler-vite'
|
||||
import { defineUserConfig } from "vuepress";
|
||||
import theme from "./theme.js";
|
||||
|
||||
export default defineUserConfig({
|
||||
bundler: viteBundler({
|
||||
viteOptions: {},
|
||||
vuePluginOptions: {}
|
||||
}),
|
||||
base: "/jingji/book/",
|
||||
|
||||
lang: "zh-CN",
|
||||
|
@ -1,3 +1,2 @@
|
||||
// you can change config here
|
||||
$colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50,
|
||||
#7f8c8d !default;
|
||||
$theme-color: #096dd9;
|
||||
|
@ -47,16 +47,11 @@ export default hopeTheme({
|
||||
align: true,
|
||||
attrs: true,
|
||||
chart: false,
|
||||
codetabs: true,
|
||||
demo: false,
|
||||
echarts: false,
|
||||
figure: true,
|
||||
flowchart: false,
|
||||
gfm: false,
|
||||
imgLazyload: true,
|
||||
imgSize: true,
|
||||
include: true,
|
||||
katex: true,
|
||||
mark: true,
|
||||
mermaid: false,
|
||||
playground: {
|
||||
@ -77,10 +72,21 @@ export default hopeTheme({
|
||||
],
|
||||
sub: true,
|
||||
sup: true,
|
||||
tabs: true,
|
||||
vPre: true,
|
||||
vuePlayground: false,
|
||||
},
|
||||
components: {
|
||||
components: ["Badge", "BiliBili"],
|
||||
},
|
||||
markdownImage: {
|
||||
figure: true,
|
||||
lazyload: true,
|
||||
size: true,
|
||||
},
|
||||
markdownMath: {
|
||||
type: "katex",
|
||||
},
|
||||
markdownTab: true,
|
||||
},
|
||||
pageInfo: [
|
||||
"Author", "Date", "ReadingTime", "Word"
|
||||
|
@ -14,7 +14,10 @@ icon: book
|
||||
|
||||
## 最近更新
|
||||
### 2024.11.6
|
||||
- 基于 Github Action 实现了自动部署到服务器
|
||||
- 同步 Vue Theme Hope 到最新版本 <badge text="测试中" type="warning"/>
|
||||
- 部分组件样式更新
|
||||
- 新增了部分新组件
|
||||
- 基于 Github Action 实现了自动部署到服务器 <badge text="新" type="tip"/>
|
||||
|
||||
> [附录:历史更新日志](Appendix/changelog.md)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user