A framework for building mobile cross-platform UI.
platform | status |
---|---|
Android | |
iOS | |
Mobile Web |
Supports 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 existing examples.
- Create your own examples by install weex-toolkit with Node.js 8.0+.
- Run
weex init
command on an empty folder to generate & start a new project. - Follow the instructions from in the project's README file.
- Run
- Add an example.
- Enjoy it.
- Install Node.js 8.0+
- Under the project's root directory, in terminal:
- Run
npm install
command, to install project dependencies. - Run
./start
command.
- Run
- Prerequisites
- Install Android Environment
- Run playground in Android Studio
On Android Platform, Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.
-
Prerequisites
- Install iOS Environment
- Install CocoaPods
-
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
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
- StackOverflow: Ask questions about Weex.
- SegmentFault (cn): 中文交流与讨论
- FAQ
- Articles (cn): Weex 相关文章集合
- Telegram Russian Community Group
See Weex Contributing Guide for more information.