fix: 更新克隆地址

main
ppst 1 year ago
parent 92ff181041
commit ebe0b7e3b8

@ -1,5 +1,10 @@
# vitepress 自定义主题 # vitepress 自定义主题
可以直接克隆,也可以使用下面方法一步步自定义实现
克隆地址
```shell
git clone http://git.ppst.top/pp/ppst-vitepress-theme-demo.git
```
## 安装 vitepress ## 安装 vitepress
```shell ```shell
pnpm install vitepress pnpm install vitepress
@ -179,3 +184,23 @@ sidebar: false
</Home> </Home>
``` ```
## package.json
```json
{
"name": "demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "vitepress dev --host 0.0.0.0",
"build": "vitepress build "
},
"dependencies": {
"@types/node": "^18.15.11",
"markdown-from-posts": "^1.0.5",
"vitepress": "1.0.0-alpha.64",
"ppst-vitepress-theme": "^0.0.2"
}
}
```
Loading…
Cancel
Save