A framework for building Mobile cross-platform UI.
platform | status |
---|---|
Android | |
iOS | |
Mobile Web |
Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.
Note: Please note the above download distribution is only for users' users' convenience. Weex Release is always in the format of source code.
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 8.0+ and
- Run
weex init
to generate & start a simple project in an empty folder. - Follow the instructions in the project README.
- Enjoy it.
You should install android environment before building.
You can either build Weex from IDE (Android Studio) or command line.
- Open
android
directory in Android Studio. - Run
git submodule update --init --remote
inandroid
directory if this is the first time you try to run Weex.
Please read How To Build for detail.
You should install iOS environment before building.
You can either build Weex from IDE (XCode) or command line.
-
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
-
integrate to your application
-
Add the following line to your Podfile:
pod 'WeexSDK'
run
pod install
-
Add the following line to your Cartfile:
github "apache/incubator-weex"
Run
carthage update
, and you should now have the latest version ofWeexSDK
in yourCarthage
folder. -
Please read How To Build for detail.
see weex-vue-render.
See SCRIPTS.md for more information.
Weex team have developed a DevTool to help you to improve the debugging efficiency.
See more stuff on this wiki page
- Mailing List Weex Mailing List, where most discussion happens.
- StackOverflow: Ask questions about Weex.
- SegmentFault (cn): 中文交流与讨论
- Telegram Russian Community Group
See Weex Contributing Guide for more information.