A framework for building Mobile cross-platform UI.
(English Gitter) (Chinese 中文聊天室)
Support Android 4.1 (API 16) and iOS 7.0+. See Weex website for more information.
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
0. Install Node.js 4.0+
0. Under project root
0.
npm install
, install project 0../start
0. Install Android Environment - Run playground, In Android Studio
0. Open
android/playground
0. Inapp/java/com.alibaba.weex/IndexActivity
, modifyCURRENT_IP
to your local IP 0. Click (Run
button) - Add an example
On Android Platform , Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.
- Prerequisites
0. Install Node.js 4.0+
0. Under project root
0.
npm install
, install project 0../start
0. Install iOS Environment 0. Install CocoaPods - Run playground
0.
cd ios/playground
0.pod install
0. OpenWeexDemo.xcworkspace
in Xcode 0. Click (Run
button) or use default shortcutcmd + r
in Xcode 0. If you want to run the demo on your device. InDemoDefine.h
(you can search this file by Xcode default shortcutcmd + shift + o
), modifyCURRENT_IP
to your local IP - Add an example
See SCRIPTS.md for more information.
See Weex Community Wiki page
Weex team have developed a DevTool to help you to improve we file
debug efficiency.
See FAQ for more information.
- weex article : article collection about Weex(文章集合)
- weex.help : 3rd forum about Weex(第三方Weex中文技术论坛)
- gitter.im chinese room : an instant message chat room about Weex(Weex中文聊天室)
See Weex Contributing Guide for more information.