mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-20 01:17: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 服务
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
最终控制台打印了如下信息即代表运行正常:
|
||||
|
Reference in New Issue
Block a user