update deps

1. 更新依赖
2. 更新项目README文件
3. 修复了大量配置问题,跟进当前版本
4. 新增了一些新组件
This commit is contained in:
2024-11-06 19:45:55 +08:00
parent 6381346e77
commit 950d6223d4
7 changed files with 1612 additions and 810 deletions

View File

@@ -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",

View File

@@ -1,3 +1,2 @@
// you can change config here
$colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50,
#7f8c8d !default;
$theme-color: #096dd9;

View File

@@ -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,12 +72,23 @@ 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"
"Author", "Date", "ReadingTime", "Word"
]
});

View File

@@ -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)