From 406488a7eba7c85d751a28f850c6c8a528302703 Mon Sep 17 00:00:00 2001
From: Ryan Wang
Date: Sat, 11 Dec 2021 00:57:06 +0800
Subject: [PATCH] docs: update readme. (halo-dev/console#396)
---
README.md | 54 ++++++++++++++++++++----------------------------------
1 file changed, 20 insertions(+), 34 deletions(-)
diff --git a/README.md b/README.md
index 15953d35c..ffdb9cf69 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,10 @@
-halo-admin
+
+
+
+
+
@@ -12,40 +16,22 @@
------------------------------
-## 部署方案
-
-目前 Halo 的运行包内已经包含了构建好的页面,所以如果你不需要额外部署 admin,你无需做任何操作。
-
-### 独立部署
-
-#### 方式一
-
-直接下载最新构建好的版本,然后部署即可。
-
-https://github.com/halo-dev/halo-admin/releases
-
-#### 方式二
-
-1、克隆项目:
-
-```bash
-git clone https://github.com/halo-dev/halo-admin
-```
-
-2、检出最新版本:
-
-```bash
-git checkout v1.4.15
-```
-
-3、打包构建:
+## 开发环境运行
```bash
npm install -g pnpm
-
-pnpm install
-
-pnpm build
```
-最后,得到 dist 文件夹之后就可以单独部署了。
+```bash
+pnpm install
+```
+
+```bash
+pnpm serve
+```
+
+## 生产构建
+
+```bash
+pnpm build
+```