• This repository has been archived on 06/Jun/2019
  • Stars
    star
    1,153
  • Rank 40,455 (Top 0.8 %)
  • Language
    Java
  • Created almost 8 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

More Repositories

1

article

This repos is a third party collection, and is not developed nor maintained by Apache Weex.
1,223
star
2

vue-framework-for-Apache-Weex

This repos is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
297
star
3

devtool-for-Apache-Weex

debugger tools with chrome devtool for Apache Weex
JavaScript
258
star
4

android-devtools-for-Apache-Weex

Remote debug for your native Android app using Chrome Developer Tools
Java
165
star
5

weex-vue-render

vue-render-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
143
star
6

devtool-iOS-for-Apache-Weex

Remote debug for your native iOS app using Chrome Developer Tools
Objective-C
124
star
7

analyzer-of-android-for-Apache-Weex

Java
109
star
8

devtool-extension-for-Apache-Weex

This repos is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
31
star
9

vue-loader-for-apache-weex

vue-loader-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
30
star
10

picker-for-Apache-Weex

picker for Apache Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
20
star
11

previewer-tool-for-Apache-Weex

a tool help user to preview their weex files
JavaScript
20
star
12

downgrade-for-Apache-Weex

A module in order to downgrade to web for Apache Weex
JavaScript
19
star
13

intellij-plugin-for-Apache-Weex

intellij-plugin-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
Kotlin
19
star
14

pack-android-tools-for-Apache-Weex

pack-android-tools-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
Java
13
star
15

a-builder-for-apache-weex

a-builder-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
13
star
16

analyzer-of-iOS-for-Apache-Weex

analyzer-of-iOS-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
Objective-C
9
star
17

styler-transformer-for-Apache-Weex

styler-transformer-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
9
star
18

templater-for-Apache-Weex

templater-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
7
star
19

weex-ui

Vue
7
star
20

xtoolkit-for-Apache-Weex

A toolkit for CLI-for-Apache-Weex
JavaScript
7
star
21

DSL-transformer-for-Apache-Weex

DSL-transformer-for-Apache-Weex is is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
7
star
22

Rax-Framework-for-Apache-Weex

Rax-Framework-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
7
star
23

pack-ios-tools-for-Apache-Weex

pack-ios-tools-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
Objective-C
5
star
24

rx-webpack-plugin-for-Apache-Weex

This repos is a third party collection, and is not developed nor maintained by Apache Weex.
4
star
25

scripter-transformer-for-Apache-Weex

<script> transformer for Apache Weex
JavaScript
4
star
26

gulp-for-weex-transformer

gulp plugin for weex transformer
JavaScript
4
star
27

eslint-config-weex-for-Apache-Weex

eslint-config-weex-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
4
star
28

Template-for-Apache-Weex

This repos is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
4
star
29

vue-precompiler-for-apache-weex

vue-precompiler-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
4
star
30

pack-create-for-Apache-Weex

pack-create-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
4
star
31

vdom-tester-for-Apache-Weex

This repos is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
3
star
32

Plugin-demo-for-Apache-Weex

Plugin-demo-for-Apache-Weex is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
3
star
33

rx-generator-for-Apache-Weex

rx generator for Apache Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
3
star
34

weex-loader

JavaScript
2
star
35

website

The source code of weex website.
SCSS
2
star
36

wd-for-Apache-Weex

wd-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
2
star
37

pack-lib-for-Apache-Weex

This repos is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
1
star
38

env

This repos is a third party work, and is not developed nor maintained by Apache Weex.
JavaScript
1
star
39

Container-iOS-plugin-for-Apache-Weex

Container-iOS-plugin-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
Objective-C
1
star
40

pack-common-for-Apache-Weex

pack-common-for-Apache-Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
1
star
41

wwp-for-Apache-Weex

wwp for Apache Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
JavaScript
1
star
42

weex-toolkit

JavaScript
1
star
43

android-plugin-for-weex

This repos is a third party work, and is not developed nor maintained by Apache Weex.
Java
1
star
44

vue

πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
JavaScript
1
star