Skip to content

weex-ui-team/weex-ui-demo

Repository files navigation

Weex Ui Demo

Start

Before

Before installing, It`s recommended that your Node version >= 8.0, Also recommended to use n for version management, while suggesting NPM version >= 5. And make sure weex-toolkit is latest. You can see more in 【with-weex-toolkit】.

Clone it

git clone https://github.com/tw93/weex-ui-demo.git

npm i

Running

Start a Web server at 8080 port

npm run serve

weex src/index.vue

Add a weex platform of Android and run commands for testing

weexpack platform add android

weex run android

Add a weex platform of iOS and run commands for testing

weexpack platform add ios

weex run ios

Web Preview iOS