安装 Taro 开发工具
npm install -g @tarojs/cli
使用命令创建模板项目
$ taro init myApp
(需要安装git)
h5
npm run dev:h5
微信小程序
npm run dev:weapp
支付宝小程序
npm run dev:alipay
npm install -g @tarojs/cli
$ taro init myApp
(需要安装git)
npm run dev:h5
npm run dev:weapp
npm run dev:alipay