Skip to content

Files

Latest commit

4ae2734 · Apr 28, 2016

History

History
executable file
·
86 lines (62 loc) · 2.27 KB

README.md

File metadata and controls

executable file
·
86 lines (62 loc) · 2.27 KB

Weex

Pre-release Notes

Weex is currently in Pre-release Stage.

We agrees 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. npm install to install project 0. Install Android Environment
  2. Run playground 0. npm run serve 0. 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 0. npm run watch 0. In examples, add a file newExample.we
    0. In examples/index.we, add an item {name: 'newExample', title: 'New Example'} for array data.cases

Scripts

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

build js-framework and h5-render

npm run build

copy the builded files to playground

npm run copy

npm run clean && npm run build

npm run dev

will run a file server at 12581 port

npm run serve

will run a watcher for *.we changed

npm run watch

will run test under js-framework and h5-render

npm run ci

Contributing

See Weex Contributing Guide.