2 Star 1 Fork 2

陈小乐 / yanxuan-weex-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

English | 简体中文

:art: 网易严选 App 感受 Weex 开发

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

体验

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

(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

此步骤只为了打包,并不用完全执行,在输入 bundle id 前取消即可。 详介请见https://segmentfault.com/a/1190000010984857

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

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

MIT License Copyright (c) 2017 zwwill Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

【转载】网易严选App:WEEX-VUE经典案例,入门必备值得参考,原文链接: 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/xiaole_sky/yanxuan-weex-demo.git
git@gitee.com:xiaole_sky/yanxuan-weex-demo.git
xiaole_sky
yanxuan-weex-demo
yanxuan-weex-demo
master

搜索帮助