From f74035fc49fe4f14f8eb6031807a110af95e33cc Mon Sep 17 00:00:00 2001 From: mashirot Date: Fri, 17 May 2024 15:42:37 +0800 Subject: [PATCH] feat: modify ui service startup way (#350) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ```release-note 修改 UI 服务启动方式为直接从 pnpm 启动 ``` --- docs/developer-guide/core/run.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/docs/developer-guide/core/run.md b/docs/developer-guide/core/run.md index 249afbe..6413cb7 100644 --- a/docs/developer-guide/core/run.md +++ b/docs/developer-guide/core/run.md @@ -41,19 +41,10 @@ git clone https://github.com/halo-dev/halo ## 运行 UI 服务 ```bash -cd path/to/halo -``` - -Linux / macOS 平台: - -```bash -./gradlew :ui:dev -``` - -Windows 平台: - -```bash -./gradlew.bat :ui:dev +cd path/to/halo/ui +pnpm install +pnpm build:packages +pnpm dev ``` 最终控制台打印了如下信息即代表运行正常: