$ tnpm install -g @tarojs/cli
支付宝环境运行
$ npm run dev:alipay
下载并打开https://render.alipay.com/p/f/fd-jwq8nu2a/pages/home/index.html,然后选择项目根目录下 dist 目录(根目录 config 中的 outputRoot 设置的目录)进行预览。
支付宝小程序开发者工具推荐使用 Lite 模式
测试文件用 pages/index/index.tsx
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
$ tnpm install -g @tarojs/cli
支付宝环境运行
$ npm run dev:alipay
下载并打开https://render.alipay.com/p/f/fd-jwq8nu2a/pages/home/index.html,然后选择项目根目录下 dist 目录(根目录 config 中的 outputRoot 设置的目录)进行预览。
支付宝小程序开发者工具推荐使用 Lite 模式
测试文件用 pages/index/index.tsx