A framework for building Mobile cross-platform UI.
Support Android 4.1 (API 16), iOS 8.0 and WebKit 534.30 .
Please INSTALL Git for Windows and run all the following commands in git-bash.
- Install Weex Playground App to see examples we already written.
- If you want to write a demo, install weex-toolkit in Node.js 4.0 and
- Run
weex init
to generate & start a simple project in an empty folder. - Follow the instructions in the project README.
- Enjoy it.
- Prerequisites
- Install Node.js 4.0
- Under project root
npm install
, install project./start
- Install Android Environment
- Run playground, In Android Studio
- Add an example
On Android Platform , Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.
-
run playground
- Prerequisites
- Install Node.js 4.0
- Under project root
npm install
, install project./start
- Install iOS Environment
- Install CocoaPods
- Under project root
- Install Node.js 4.0
- Run playground
cd ios/playground
pod install
- Open
WeexDemo.xcworkspace
in Xcode - Click (
Run
button) or use default shortcutcmd r
in Xcode - If you want to run the demo on your device, don't need to modify
CURRENT_IP
manually.InDemoDefine.h
(you can search this file by Xcode default shortcutcmd shift o
), modifyCURRENT_IP
to your local IP
- Add an example
- Prerequisites
-
integrate to your application
See SCRIPTS.md for more information.
Weex team have developed a DevTool to help you to improve we file
debug efficiency.
See more stuff on this wiki page
- StackOverflow: Ask questions about Weex.
- SegmentFault (cn): 中文交流与讨论
- FAQ
- Articles (cn): Weex 相关文章集合
See Weex Contributing Guide for more information.