tree: 13b3af814915db1846463d1341aaca5e12be5c58 [path history] [tgz]
  1. .github/
  2. android/
  3. bin/
  4. build/
  5. examples/
  6. ios/
  7. packages/
  8. pre-build/
  9. runtime/
  10. scripts/
  11. test/
  12. weex_core/
  13. .babelrc
  14. .eslintignore
  15. .eslintrc
  16. .gitignore
  17. .rat-excludes
  18. .travis.yml
  19. CHANGELOG.md
  20. CODE_OF_CONDUCT.md
  21. CONTRIBUTING.md
  22. DISCLAIMER
  23. Dangerfile-ios
  24. Gemfile
  25. Gemfile.lock
  26. HOW-TO-BUILD.md
  27. LICENSE
  28. NOTICE
  29. POSSIBLE-NOTICES-FOR-BIN-DIST
  30. README.md
  31. RUN-RAT.md
  32. SCRIPTS.md
  33. WeexSDK.modulemap
  34. WeexSDK.podspec
  35. dangerfile-android.js
  36. dangerfile-ios.js
  37. dangerfile-jsfm.js
  38. dangerfile.js
  39. index.html
  40. package-lock.json
  41. package.json
  42. start
README.md

Weex

A framework for building Mobile cross-platform UI.

Build Status

platformstatus
AndroidDownload
iOSPod version Carthage compatible
Mobile Webnpm version

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

Note: Please note the above download distribution is only for users' users' convenience. Weex Release is always in the format of source code.

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.