Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/cs1707/vue-zhihudaily-2.0

Zhihudaily demo built with Vue 2.0, vue-router & vuex, with server-side rendering
https://github.com/cs1707/vue-zhihudaily-2.0

Last synced: 19 days ago
JSON representation

Zhihudaily demo built with Vue 2.0, vue-router & vuex, with server-side rendering

Lists

README

        

# vue-zhihudaily-2.0

Zhihudaily demo built with Vue 2.0 + vue-router + vuex, with server-side rendering. 主要参考 [vue-hackernews-2.0](https://github.com/vuejs/vue-hackernews-2.0) .






Live Demo

## Features

- Server Side Rendering
- Vue + vue-router + vuex working together
- Server-side data pre-fetching
- Client-side state & DOM hydration
- Hot-reload in development
- CSS extraction for production

## Architecture Overview

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

## Build Setup

**Requires Node.js 6+**

``` bash
# install dependencies
npm install

# 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
```