注意:推荐使用系统CMD窗口,HBuilder X 的终端插件不能自定义PATH变量
$ set PATH=D:\node-v15.5.1-win-x64;%PATH%
$ cd my-project
$ npm i
$ npm run build:mp-weixin
$ npm run build:mp-alipay
- 使用微信开发者工具打开目录:
my-project/dist/build/mp-weixin - 使用支付宝开发者工具打开目录:
my-project/dist/build/mp-alipay
HBuilder X:https://www.dcloud.io/hbuilderx.html
微信开发者工具:https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
支付宝开发者工具:https://opendocs.alipay.com/mini/ide/download