taro weapp
taro weapp
开发指南
https://nervjs.github.io/taro/docs/GETTING-STARTED.html#微信小程序
taro
# build
$ taro build --type alipay
$ taro build --type weapp
$ taro build --type h5
# dev
$ taro build --type alipay --watch
$ taro build --type weapp --watch
$ taro build --type h5 --watch
{
"dev:weapp": "npm run build:weapp -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
}
# build
$ sudo taro build --type alipay
$ sudo taro build --type weapp
$ sudo taro build --type h5
demo
自定义 taro build folder
dist
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/12557187.html
未经授权禁止转载,违者必究!