mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-20 17:48:19 +00:00
feat: modify ui service startup way (#350)
```release-note 修改 UI 服务启动方式为直接从 pnpm 启动 ```
This commit is contained in:
@@ -41,19 +41,10 @@ git clone https://github.com/halo-dev/halo
|
|||||||
## 运行 UI 服务
|
## 运行 UI 服务
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd path/to/halo
|
cd path/to/halo/ui
|
||||||
```
|
pnpm install
|
||||||
|
pnpm build:packages
|
||||||
Linux / macOS 平台:
|
pnpm dev
|
||||||
|
|
||||||
```bash
|
|
||||||
./gradlew :ui:dev
|
|
||||||
```
|
|
||||||
|
|
||||||
Windows 平台:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
./gradlew.bat :ui:dev
|
|
||||||
```
|
```
|
||||||
|
|
||||||
最终控制台打印了如下信息即代表运行正常:
|
最终控制台打印了如下信息即代表运行正常:
|
||||||
|
Reference in New Issue
Block a user