vue-hackernews-2.0 0,14,21,27,0,35,25

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering

vue-hackernews-2.0

HackerNews clone built with Vue 2.0 + vue-router + vuex, with server-side rendering.


Live Demo

Note: the demo may need some spin up time if nobody has accessed it for a certain period.

Features

  • Server Side Rendering
    • Vue + vue-router + vuex working together
    • Server-side data pre-fetching
    • Client-side state & DOM hydration
    • Automatically inlines CSS used by rendered components only
    • Preload / prefetch resource hints
  • Progressive Web App
    • App manifest
    • Service worker
    • 100100 Lighthouse score
  • Single-file Vue Components
    • Hot-reload in development
    • CSS extraction for production
  • Animation
    • Effects when switching route views
    • Real-time list updates with FLIP Animation

Architecture Overview

screen shot 2016-08-11 at 6 06 57 pm

A detailed Vue SSR guide can be found here.

Build Setup

Requires Node.js 7+

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:8080
npm run dev

# build for production
npm run build

# serve in production mode
npm start

License

MIT

Related Repositories

vue-hackernews-2.0

vue-hackernews-2.0

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering ...

vue-hackernews-2.0-typescript

vue-hackernews-2.0-typescript

HackerNews clone built with TypeScript, Vue 2.0, vue-router & vuex, with server-side rendering ...

Build-vue-hackernews-2.0-from-scratch

Build-vue-hackernews-2.0-from-scratch

A tutorial for beginners to build a complex project with Vue.js 2.0 step by step ...

vue-hackernews-2.0-lazy

vue-hackernews-2.0-lazy

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering + Lazy loading ...


Top Contributors

yyx990803 juukie roryokane