首先全局安装weex-toolkit
npm
npm install weex-toolkit -g
weex
而后就能够建立项目了app
weex create awesome-appide
记录使用;ui
1,项目搭建完成,执行npm run build 而后进入dist文件夹,执行weex debug index.jsspa
这样就可使用weex playground扫码查看调试debug
2,滑动须要使用scroll事件,weex项目没有overflow样式调试
3,;id不支持,须要使用v-bind:idcode
4,不支持传统的标签写法,只能使用官网上的组件(div,text,video...)事件