manyoubaby123 / yanxuan-weex-demo

a demo developed using weex/weex高仿网易严选App

Home Page:https://github.com/zwwill/blog/issues/3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WEEX开发严选App

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

体验

Weex Playground 扫码体验 Weex Playground下载地址

(weex分包发布机制,所以此次仅为首页演示,另 Android 端未做优化)

运行

安装依赖包

$ npm install

运行web

web工程打包

$ npm run build 

构建web工程 & 启动服务

$ npm run dev & npm run serve 

运行ios

ios打包需要开发者帐号,如果不是付费用户就只能通过xcode调试的方式安装在自己的关联手机上(就是手机需要使用此帐号登录)或者虚拟机调试。 以下是无开发者付费帐号的执行方法 安装ios框架

$ weexpack platform add ios

执行打包命令

$ weex build ios

此步骤只为了打包,并不用完全执行,详介请见https://segmentfault.com/a/1190000010984857

接下来使用xcode安装调试,步骤参考原生调试。

(使用XCode打开 platforms/ios/WeexDemo.xcworkspace 文件,更改General 配置下的 Bundle Identifier 解决冲突。选择自己的Signing Team,run或debug即可)

About

a demo developed using weex/weex高仿网易严选App

https://github.com/zwwill/blog/issues/3

License:MIT License


Languages

Language:JavaScript 46.9%Language:Vue 46.8%Language:HTML 4.7%Language:CSS 1.1%Language:Batchfile 0.4%