Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
yanquanfahei committed Mar 3, 2023
1 parent 6d1d506 commit ec85c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ pnpm add cross-env vite-plugin-mini-ci -D

## Usage

1. 在项目运行脚本中添加环境变量参数 `cross-env VITE_PLUGIN_MINI_CI=open`
1. 在项目运行脚本中添加环境变量参数 `VITE_PLUGIN_MINI_CI`,以英文逗号分割来执行多个指令。

```json
// package.json
{
"scripts": {
"dev:mp-alipay": "cross-env VITE_PLUGIN_MINI_CI=open uni -p mp-alipay"
"dev:mp-alipay": "cross-env VITE_PLUGIN_MINI_CI=open,preview uni -p mp-alipay"
}
}
```
Expand Down

0 comments on commit ec85c63

Please sign in to comment.