Weex

阿里推出的跨平台的移动端开发框架,具有轻量级、可扩展和高性能的特点

暂无中文翻译,

Weex

A framework for building Mobile cross-platform UI.

CircleCI Gitter (English Gitter) Gitter (Chinese 中文聊天室)

Support Android 4.1 (API 16) and iOS 7.0+. See Weex website for more information.

For Windows

Please INSTALL Git for Windows and run all the following commands in git-bash.

Meet Weex

  • 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.

Use Weex

Android

  1. Prerequisites
    1. Install Node.js 4.0+
    2. Under project root
      1. npm install, install project
      2. ./start
    3. Install Android Environment
  2. Run playground, In Android Studio
    1. Open android/playground
    2. In app/java/com.alibaba.weex/IndexActivity, modify CURRENT_IP to your local IP
    3. Click (Run button)
  3. Add an example

Runtime

On Android Platform , Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.

iOS

  1. Prerequisites
    1. Install Node.js 4.0+
    2. Under project root
      1. npm install, install project
      2. ./start
    3. Install iOS Environment
    4. Install CocoaPods
  2. Run playground
    1. cd ios/playground
    2. pod install
    3. Open WeexDemo.xcworkspace in Xcode
    4. Click (Run button) or use default shortcut cmd + r in Xcode
    5. If you want to run the demo on your device. In DemoDefine.h(you can search this file by Xcode default shortcut cmd + shift + o), modify CURRENT_IP to your local IP
  3. Add an example

Scripts

See SCRIPTS.md for more information.

IDE Plugin & Syntax Highlight

See Weex Community Wiki page

FAQ

See FAQ for more information.

Community based Weex knowledge site

Contributing

See Weex Contributing Guide for more information.

weex 暂时没有中文说明

我们期待您参与进来翻译和完善

该操作会锁定该库2天以防止其它用户重复翻译,然后会自动释放

讨论区