Skip to content

chid/weex

Repository files navigation

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.

About

A framework for building Mobile cross-platform UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 47.0%
  • JavaScript 41.9%
  • Objective-C 10.2%
  • C 0.5%
  • CSS 0.2%
  • HTML 0.1%
  • Other 0.1%