GithubHelp home page GithubHelp logo

hhy5277 / incubator-weex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/incubator-weex

0.0 2.0 0.0 242.02 MB

Apache Weex (Incubating)

Home Page: https://weex.apache.org

License: Apache License 2.0

Ruby 0.05% Java 17.01% JavaScript 21.22% Shell 0.13% HTML 0.01% Objective-C 6.64% Objective-C++ 2.73% Awk 0.01% Vue 0.49% CMake 0.33% C++ 41.38% Makefile 0.01% C 9.77% Python 0.23%

incubator-weex's Introduction

Weex

A framework for building Mobile cross-platform UI.

Build Status

platform status
Android Download
iOS Pod version Carthage compatible
Mobile Web npm version

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

Mobile Web

see weex-vue-render.

Scripts

See SCRIPTS.md for more information.

IDE Plugin & Syntax Highlight & DevTool

Weex team have developed a DevTool to help you to improve the debugging 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 doumafang avatar erha19 avatar fkysly avatar gubaojian avatar gurisxie avatar hanks10100 avatar jianhan-he avatar jinjiang avatar kfeagle avatar lucky-chen avatar luics avatar lvscar avatar miomin avatar misakuo avatar mrraindrop avatar sospartan avatar tancy avatar terrykingcha avatar wqyfavor avatar xkli avatar yangshengtao avatar yorkshen avatar yuhun-alibaba avatar zshshr avatar

Watchers

 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.