Latest 0.12.8
Homepage https://github.com/alibaba/weex
License Copyright Alibaba-INC copyright
Platforms ios 7.0, requires ARC
Dependencies SocketRocket
Frameworks CoreMedia, MediaPlayer, AVFoundation, AVKit, JavaScriptCore, GLKit
Authors , , , ,

Weex

A framework for building Mobile cross-platform UI.

AndroidDownload
iOSPod version
HTML5npm version

CircleCI

Support Android 4.1 (API 16) and iOS 7.0+.

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 & DevTool

Weex team have developed a DevTool to help you to improve we file debug efficiency.

See more stuff on this wiki page

Weex Community

Contributing

See Weex Contributing Guide for more information.

Latest podspec

{
    "name": "weex-dynamic",
    "version": "0.12.8",
    "summary": "WeexSDK Source .",
    "description": "A framework for building Mobile cross-platform UI",
    "homepage": "https://github.com/alibaba/weex",
    "license": {
        "type": "Copyright",
        "text": "           Alibaba-INC copyrightn"
    },
    "authors": {
        "cxfeng1": "[email protected]",
        "boboning": "[email protected]",
        "yangshengtao": "[email protected]",
        "kfeagle": "[email protected]",
        "acton393": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/myeveryheart/weex-dynamic.git",
        "tag": "0.12.8"
    },
    "source_files": "ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c}",
    "resources": [
        "pre-build/native-bundle-main.js",
        "[email protected]"
    ],
    "requires_arc": true,
    "prefix_header_file": "ios/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch",
    "xcconfig": {
        "OTHER_LINK_FLAG": "$(inherited) -ObjC"
    },
    "frameworks": [
        "CoreMedia",
        "MediaPlayer",
        "AVFoundation",
        "AVKit",
        "JavaScriptCore",
        "GLKit"
    ],
    "dependencies": {
        "SocketRocket": []
    },
    "libraries": "stdc++"
}

Pin It on Pinterest

Share This