hackernews-App-powered-by-Apache-Weex

使用 Weex 和 Vue 开发的 Hacker News 原生应用。「A mobile app for Hacker News, which is powered by Weex and Vue.」

  • 所有者: weexteam/hackernews-App-powered-by-Apache-Weex
  • 平台: Android, iOS, Linux, Mac, Windows
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Hacker News App

中文版说明文档

A mobile app for Hacker News, which is powered by Weex and Vue.

Preview

Use Weex Playground App to scan the QR code below.

QR Code

The content of this QR code is http://whatever.cn?_wx_tpl=https://raw.githubusercontent.com/weexteam/weex-hackernews/master/ios/assets/index.js , please make sure your phone can assess GitHub.

Compile

Install the dependencies:

npm install

Compile the source code:

  • npm run build # Compile the source code for web platform and native platform.
  • npm run dev # Watch mode for npm run build.

Copy the bundle file:

  • npm run copy:android # Copy generated bundle file to the assets of Android project.
  • npm run copy:ios # Copy generated bundle file to the assets of iOS project.
  • npm run copy # Run both copy:andriod and copy:ios.

More npm scripts will be find in the package.json.

Start Web Service

npm run serve

The server is listening on 1337. Visit http://127.0.0.1:1337/index.html can preview the app on browser.

Run The Android Project

First you should install Android Studio and Android SDK.

Assuming you have configured the Android development environment properly, just use Android Studio to open the project in the android folder, and run the app as other normal Android projects.

Run The iOS Project

First you should setup the iOS develop environment and install the CocoaPods.

Enter the ios path, use CocoaPods to install dependencies:

pod install

Open the project in the ios folder by Xcode, you could run the app on the simulator.

NOTE: If you want to run the app on real device, you also need to setup your own signing configuration.

概览

名称与所有者weexteam/hackernews-App-powered-by-Apache-Weex
主编程语言Java
编程语言JavaScript (语言数: 9)
平台Android, iOS, Linux, Mac, Windows
许可证
发布数1
最新版本名称v1.0 (发布于 2017-02-21 23:55:58)
第一版名称v1.0 (发布于 2017-02-21 23:55:58)
创建于2016-12-08 02:03:48
推送于2018-01-04 13:29:25
最后一次提交2018-01-04 21:26:43
星数1.2k
关注者数75
派生数227
提交数131
已启用问题?
问题数76
打开的问题数2
拉请求数10
打开的拉请求数0
关闭的拉请求数1
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部