Giter Site home page Giter Site logo

mahaiyannn / incubator-weex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/incubator-weex

0.0 1.0 0.0 225.31 MB

Apache Weex (Incubating)

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

License: Apache License 2.0

Ruby 0.04% Java 37.08% JavaScript 35.38% Shell 0.20% HTML 0.02% Objective-C 10.18% Objective-C++ 4.15% Awk 0.01% Vue 0.81% CMake 0.05% C++ 11.26% C 0.44% Python 0.39%

incubator-weex's Introduction

Weex

A framework for building mobile cross-platform UI.

CircleCI

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

Supports 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 existing examples.
  • Create your own examples by install weex-toolkit with Node.js 8.0+.
    • Run weex init command on an empty folder to generate & start a new project.
    • Follow the instructions from in the project's README file.
  • Add an example.
  • Enjoy it.

Use Weex

Prerequisites for All Platforms

  • Install Node.js 8.0+
  • Under the project's root directory, in terminal:
    • Run npm install command, to install project dependencies.
    • Run ./start command.

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)

Runtime

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

iOS

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

sospartan avatar acton393 avatar mrraindrop avatar cxfeng1 avatar kfeagle avatar zshshr avatar hanks10100 avatar xkli avatar jinjiang avatar yorkshen avatar misakuo avatar luics avatar gurisxie avatar miomin avatar cxfeng1-zz avatar boboning avatar lvscar avatar atomtong avatar yangshengtao avatar erha19 avatar fkysly avatar terrykingcha avatar tancy avatar bluebird78999 avatar lucky-chen avatar doumafang avatar yuhun-alibaba avatar wispy316 avatar iskenhuang avatar littleseven avatar

Watchers

 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.