Skip to content

Commit

Permalink
doc:README添加物料同步脚本说明 (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoyun8 committed Dec 29, 2023
1 parent b343220 commit 2d3b380
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
12 changes: 11 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`参数:

Expand All @@ -59,7 +69,7 @@ pnpm run build:alpha 或 build:prod
## 里程碑

```mermaid
gantt
gantt
dateFormat YYYY-MM-DD
axisFormat %Y-%m-%d
Expand Down

0 comments on commit 2d3b380

Please sign in to comment.