mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-08-18 15:39:35 +08:00
chore: 项目依赖更新
This commit is contained in:
parent
894f114566
commit
14435f3e6a
@ -1,3 +1,4 @@
|
|||||||
|
import { h } from 'vue'
|
||||||
import { Button, notification } from 'ant-design-vue'
|
import { Button, notification } from 'ant-design-vue'
|
||||||
|
|
||||||
let lastHashmap: any = null
|
let lastHashmap: any = null
|
||||||
@ -43,10 +44,14 @@ async function loop() {
|
|||||||
notification.info({
|
notification.info({
|
||||||
message: '文档有更新',
|
message: '文档有更新',
|
||||||
description: '请刷新页面以获取最新文档',
|
description: '请刷新页面以获取最新文档',
|
||||||
btn: (
|
btn: () =>
|
||||||
<Button type="primary" onClick={() => window.location.reload()}>
|
h(
|
||||||
刷新页面
|
Button,
|
||||||
</Button>
|
{
|
||||||
|
type: 'primary',
|
||||||
|
onClick: () => window.location.reload()
|
||||||
|
},
|
||||||
|
'刷新页面'
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
@ -1,5 +1,4 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import vueJsx from '@vitejs/plugin-vue-jsx'
|
|
||||||
|
|
||||||
export default defineConfig(() => ({
|
export default defineConfig(() => ({
|
||||||
server: {
|
server: {
|
||||||
@ -9,6 +8,5 @@ export default defineConfig(() => ({
|
|||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
plugins: [vueJsx()]
|
|
||||||
}))
|
}))
|
||||||
|
13
package.json
13
package.json
@ -6,17 +6,16 @@
|
|||||||
"preview": "vitepress preview docs"
|
"preview": "vitepress preview docs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.9.0",
|
"@types/node": "^24.1.0",
|
||||||
"@vitejs/plugin-vue-jsx": "^4.1.0",
|
|
||||||
"ant-design-vue": "^4.2.6",
|
"ant-design-vue": "^4.2.6",
|
||||||
"markdown-it-mathjax3": "^4.3.2",
|
"markdown-it-mathjax3": "^4.3.2",
|
||||||
"vite": "^5.4.11",
|
"vite": "^7.0.6",
|
||||||
"vue": "^3.5.13"
|
"vue": "^3.5.18"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"medium-zoom": "^1.1.0",
|
"medium-zoom": "^1.1.0",
|
||||||
"swiper": "^11.1.14",
|
"swiper": "^11.2.10",
|
||||||
"vitepress": "1.5.0"
|
"vitepress": "1.6.3"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.13.2"
|
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748"
|
||||||
}
|
}
|
||||||
|
2010
pnpm-lock.yaml
generated
2010
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
4
pnpm-workspace.yaml
Normal file
4
pnpm-workspace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
onlyBuiltDependencies:
|
||||||
|
- core-js
|
||||||
|
- esbuild
|
||||||
|
- vue-demi
|
@ -17,6 +17,6 @@
|
|||||||
"baseUrl": "."
|
"baseUrl": "."
|
||||||
},
|
},
|
||||||
|
|
||||||
"include": ["docs/.vitepress/**/*.ts", "docs/.vitepress/**/*.tsx", "docs/vite.config.ts"],
|
"include": ["docs/.vitepress/**/*.ts", "docs/vite.config.ts"],
|
||||||
"exclude": ["node_modules", "dist"]
|
"exclude": ["node_modules", "dist"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user