登录

parent 825c628f
...@@ -40,6 +40,25 @@ yarn build ...@@ -40,6 +40,25 @@ yarn build
} }
``` ```
#### 2.修改启动命令
```
//package.json
"scripts": {
"start": "rexma start-rexma",
"build": "rexma build-rexma",
"start:platform": "rexma start",
"build:platform": "rexma build"
},
//package.json
"scripts": {
"start": "uni -p h5-sgy",
"build": "uni build -p h5-sgy",
"start:platform": "rexma start",
"build:platform": "rexma build"
}
```
#### 3.使用方式参考 main.js #### 3.使用方式参考 main.js
``` ```
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"start": "rexma start-rexma", "start": "uni -p h5-sgy",
"build": "rexma build-rexma", "build": "uni build -p h5-sgy",
"start:platform": "rexma start", "start:platform": "rexma start",
"build:platform": "rexma build" "build:platform": "rexma build"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment