From ebe0b7e3b8c84cfdb649ee615e83ca439b113db6 Mon Sep 17 00:00:00 2001 From: ppst Date: Wed, 7 Jun 2023 09:49:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=85=8B=E9=9A=86?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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