WEEX开发严选App

以下是运行demo的简要步骤 关于此Demo的进一步介绍,可以阅读此文网易严选App感受WEEX开发

JavaScript 混合移动开发

访问GitHub主页

共3055Star

详细介绍

English | 简体中文

🎨 High quality Weex Demo

The following is a brief step to run the demo further introduction,you can read this 网易严选App感受WEEX开发

Try

open Weex Playground , Scan the qrcode below

(no optimizing separately for android)

Run

install

$ npm install

run web

building web pro

$ npm run build 

building web pro & running service

$ npm run dev & npm run serve 

run ios

ios packaging requires developer accounts, f not, you can only install it on your own connected iphone through xcode debugging, or virtual machine。

The following is the implementation of the non-developer account

install ios platform

$ weexpack platform add ios

build weex bundles

$ weex build ios

This step is only for packaging, not fully executed, cancel before you enter the bundle id。

further info https://segmentfault.com/a/1190000010984857

next, use xcode to debug, refer to the native debug step.

(Using XCode to open file platforms/ios/WeexDemo.xcworkspace, simple configurate, then run or debug)

推荐源码