Giter Site home page Giter Site logo

ezc / incubator-weex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/incubator-weex

0.0 4.0 0.0 154.89 MB

Mirror of Apache Weex

License: Apache License 2.0

Ruby 0.02% Java 22.15% JavaScript 69.15% Shell 0.11% CSS 0.28% Vue 0.52% HTML 0.04% Objective-C 7.25% Objective-C++ 0.22% C 0.25% Awk 0.01%

incubator-weex's Introduction

Weex

A framework for building Mobile cross-platform UI.

AndroidDownload iOSPod version Carthage compatible HTML5npm version

CircleCI

Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.

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

  • Prerequisites
  • Run playground, In Android Studio
    • Open android/playground
    • In app/java/com.alibaba.weex/IndexActivity, modify CURRENT_IP to your local IP
    • Click (Run button)
  • Add an example

Runtime

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

iOS

  • run playground

    • Prerequisites
    • Run playground
      • cd ios/playground
      • pod install
      • Open WeexDemo.xcworkspace in Xcode
      • Click (Run button) or use default shortcut cmd + r in Xcode
      • If you want to run the demo on your device, don't need to modify CURRENT_IP manually. In DemoDefine.h(you can search this file by Xcode default shortcut cmd + shift + o), modify CURRENT_IP to your local IP
    • Add an example
  • integrate to your application

    • CocoaPods

      Add the following line to your Podfile:

        pod 'WeexSDK'
      

      run pod install

    • Carthage

      Add the following line to your Cartfile:

        github "apache/incubator-weex"
      

      Run carthage update, and you should now have the latest version of WeexSDK in your Carthage folder.

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.

incubator-weex's People

Contributors

acton393 avatar atomtong avatar bluebird78999 avatar boboning avatar cxfeng1 avatar cxfeng1-zz avatar doranyun avatar erha19 avatar fkysly avatar gurisxie avatar hanks10100 avatar iskenhuang avatar jinjiang avatar kfeagle avatar littleseven avatar luics avatar lvscar avatar lybeen avatar miomin avatar misakuo avatar mrraindrop avatar rowandjj avatar sospartan avatar tancy avatar terrykingcha avatar wispy316 avatar xkli avatar yangshengtao avatar yorkshen avatar zshshr avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.