/weex

Primary LanguageJavaApache License 2.0Apache-2.0

Weex

Pre-release Notes

Weex is currently in Pre-release Stage.

We agree that you may discuss technical information about Weex, except that you may not fork Weex to public repository , write public reviews or post screen shots using information from current repository(https://github.com/alibaba/weex) , redistribute weex within any form.

A framework for building Mobile cross-platform UI.

Support Android 4.1 (API 16) and iOS soon. See Weex website for more information.

Meet

Use

Android

  1. Prerequisites 0. Install Node.js 4.0+ 0. Under project root 0. npm install, install project 0. npm run dev && npm run serve 0. npm run watch, in a new terminal window 0. Install Android Environment
  2. Run playground, In Android Studio 0. Open android/playground 0. In app/java/com.alibaba.weex/WXMainActivity, modify CURRENT_IP to your local IP 0. Click (Run button)
  3. Add an example

Scripts

For end-user

clean *.js in the folders of examples/build and test/build

npm run clean

transform *.we in the folders of examples & test

npm run transform

npm run clean && npm run transform

npm run dev

run a file server at 12580 port

npm run serve

run a watcher for *.we changed

npm run watch

For SDK Developer

build js-framework and h5-render

npm run build

run test under js-framework and h5-render

npm run ci

copy the built files to playground

npm run copy

For Windows

Please install Git for Windows or Cygwin.

Contributing

See Weex Contributing Guide.