diff --git a/README.md b/README.md index 83b4040..cfcba57 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # vitepress 自定义主题 +可以直接克隆,也可以使用下面方法一步步自定义实现 +克隆地址 + ```shell + git clone http://git.ppst.top/pp/ppst-vitepress-theme-demo.git + ``` ## 安装 vitepress ```shell pnpm install vitepress @@ -178,4 +183,24 @@ sidebar: false +``` +## 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" + } +} ``` \ No newline at end of file