阿里的weex框架在4月更新了版本,根据官方的教程,使用weex-toolkit v-1.01之后的版本创建vue项目,并参考教程,搭建了整个项目,然后运行。http://weex.apache.org/cn/guide/set-up-env.html
整个项目的目录如下:
但是当执行npm run serve之后,打开浏览器http://localhost:8080/index.html,出现了手机界面,但内容是空白的,仔细查找原因,在执行了npm run serve的cmd中发现/node_modules/weex-vue-render/index.js 404 12ms,说明在这个路径下,没有找到index.js这个文件。