/weex-demo

A weex demo inspired by yanxuan-weex-demo

Primary LanguageJava

说明

一个参考yanxuan-weex-demo完成的weex demo,主要参考其UI样式,组件在自己对其展现样式的理解下完成编写。

变更历史

  • 1、V0.1 Demo主体框架搭建完成,实现主页的UI展示

工程运行命令

npm start

Starts the development server for you to preview your weex page on browser. You can also scan the QR code using weex playground to preview weex page on native.

npm run dev

Open the code compilation task in watch mode.

npm run ios

(Mac only, requires Xcode) Starts the development server and loads your app in an iOS simulator.

npm run android

(Requires Android build tools) Starts the development server and loads your app on a connected Android device or emulator.

npm run pack:ios

(Mac only, requires Xcode) Packaging ios project into ipa package.

npm run pack:android

(Requires Android build tools) Packaging android project into apk package.

npm run pack:web

Packaging html5 project into web/build folder.

npm run test

Starts the test runner.