Skip to content

Commit

Permalink
docs(getting-started): update (#2815)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored May 30, 2024
1 parent ecda292 commit 4d91376
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion site/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ spline: explain
npm i tdesign-miniprogram -S --production
```

> 安装完之后,需要在微信开发者工具中对 npm 进行构建:`工具 - 构建 npm`
> 安装完之后,需要在微信开发者工具中对 npm 进行构建:`工具 - 构建 npm`。(构建时若出现`NPM packages not found`字样,请到 `project.config.json` 文件补充 `packNpmManually``packNpmRelationList` 配置项,具体见[NPM 支持](https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html?search-key=npm)

> 构建成功后勾选 `将 JS 编译成 ES5`
> <br/>
><img width="200" src="https://tdesign.gtimg.com/miniprogram/docs/getting-started.png" />

## 修改 app.json

Expand Down

0 comments on commit 4d91376

Please sign in to comment.