|
2 | 2 |
|
3 | 3 | [Live demo](http://yyx990803.github.io/vue-hackernews/) |
4 | 4 |
|
5 | | -Built with[Vue.js](http://vuejs.org) and the official[HackerNews API](https://github.com/HackerNews/API), withsimple pagination, comments, comment folding, user profile, realtime updates & responsive layout. |
| 5 | +Built with[Vue.js](http://vuejs.org) and the official[HackerNews API](https://github.com/HackerNews/API), withrouting, comments, comment folding, user profile & realtime updates. |
6 | 6 |
|
7 | | -Vue.js & Firebase are the only libraries used, the app itself totals~140 SLOC JavaScript excluding comments. |
8 | | - |
9 | | -##Notes |
10 | | - |
11 | | -- I've intentionally avoided using build tools because the whole thing is pretty simple. |
12 | | - |
13 | | -- The HN API currently only provides the top 100 stories, hence there are only 4 pages available. |
14 | | - |
15 | | -- The HN API doesn't provide the recursive comments count for each story, so it's not displayed. |
16 | | - |
17 | | -- There's no login functionality, i.e. it's view-only mode. |
| 7 | +The build setup uses Browserify and the[Vueify](https://github.com/vuejs/vueify) transform, which enables Vue components to be written in a format that encapsulates a component's style, template and logic in a single file. |