Revise branch switching and running instructions

解决了issuse #207 #206,因生产隔离所以需切换分支后在本地部署
This commit is contained in:
荷雨头上插着薄荷🍀
2026-08-08 05:32:44 +08:00
committed by GitHub
parent 6f5566af8c
commit f7a91c2db0
+8 -4
View File
@@ -47,14 +47,18 @@
```bash ```bash
cd CookLikeHOC cd CookLikeHOC
``` ```
3. 切换分支
3. 安装依赖 ```bash
git checkout vitepress
```
4. 安装依赖
```bash ```bash
npm install npm install
``` ```
4. 运行 5. 运行
```bash ```bash
npm run docs:dev npm run docs:dev
@@ -64,4 +68,4 @@
``` ```
http://localhost:5173/ http://localhost:5173/
``` ```
即可。 即可。