weex playground手机查看weex项目

weex playground手机查看weex项目

weex + vue 手机上同步看到,不用weex run android 的方法

1.对qrcode.tpl进行如下修改
这里写图片描述

2.对navigator.js修改
weex playground手机查看weex项目_第1张图片

3.

然后npm run serve 打开服务器,再npm run build

4.

在网址上输入http://localhost:8080/qrcode.html

5.

weex playground扫描,可以手机同步看到页面
重新编辑后,需要再build,然后手机上刷新

你可能感兴趣的:(weex)