转载

Alibaba 的 weex 完全开放 Github 仓库访问权限,有兴趣的快去 fork

Weex

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.

For Windows

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

Meet Weex

  • Install Playground .

Use Weex

  • See Tutorial .
  • See Weex Documentation for more information.

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/WXMainActivity , modify CURRENT_IP to your local IP
    3. Click ( Run button)
  3. Add an example

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

SeeSCRIPTS.md for more information.

FAQ

See FAQ for more information.

Contributing

See Weex Contributing Guide for more information.

原文  https://github.com/alibaba/weex
正文到此结束
Loading...