doc:README添加物料同步脚本说明 (#207)

This commit is contained in:
yaoyun8 2023-12-29 16:21:43 +08:00 committed by GitHub
parent b343220d77
commit 2d3b380764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 1 deletions

View File

@ -37,6 +37,16 @@ $ pnpm install
$ pnpm dev
```
### Materials Synchronization [Solution](https://opentiny.design/tiny-engine#/help-center/course/engine/56)
```sh
$ pnpm splitMaterials
```
```sh
$ pnpm buildMaterials
```
Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc`
`url search` Parameters:

View File

@ -37,6 +37,16 @@ $ pnpm install
$ pnpm dev
```
### 物料同步[方案](https://opentiny.design/tiny-engine#/help-center/course/engine/56)
```sh
$ pnpm splitMaterials
```
```sh
$ pnpm buildMaterials
```
浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc`
`url search`参数:
@ -59,7 +69,7 @@ pnpm run build:alpha 或 build:prod
## 里程碑
```mermaid
gantt
gantt
dateFormat YYYY-MM-DD
axisFormat %Y-%m-%d