WeexOne
Introduction: Weex [one 一个]客户端
Tags:
注: 我在 Weexpack 分支下实现了用 WeexPack 进行打包的配置
Update
- 2016-10-31 修复 h5 里 tab 和 navigator 路径错误问题,增加了 weexone 脚本
- 2016-10-30 修复了 h5 下相对路径取值错误问题
- 2016-10-26 更新了 Android 端离线方式,解决了相对路径的问题
- 2016-10-10 更新了 WeexOne 的编译运行方式
- 2016-09-22 更新了 WeexOne 兼容了新版本的 Weex,还需要解决 UI 错乱的问题
Install
npm install
Build & Run
npm run buld
: build all we file into dist/* foldernpm run dev
: watch file changes of src and automatically build into dist/npm run serve
: perview in html5 render through :http://localhost:12580
OR
weexone
:build all we file into dist/* folder,and start default server with 12580 portweexone android
:
build we file into dist/* and copy all dist into android assets/dist folder
then build android
install apk to device
run weex playground
Run with weex playground app
- open weex playground app
- open qrcode scan ,scan
http://your weex server ip/dist/main.js
介绍
端午的时候收到了 Weex 团队发的一个 Weex Workshop 的邮件,然后就利用这两天使用 Weex 做了一款[one 一个]的客户端。源代码在:https://github.com/dodola/WeexOne