Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/albertchan/vue-ssr-boilerplate

Vue + vue-router + vuex boilerplate with server-side rendering
https://github.com/albertchan/vue-ssr-boilerplate

Last synced: 3 months ago
JSON representation

Vue + vue-router + vuex boilerplate with server-side rendering

Awesome Lists containing this project

README

        

# vue-ssr-boilerplate

A stripped down version of [vue-hackernews-2](https://github.com/vuejs/vue-hackernews-2.0)
for use as a boilerplate.

## Features

- Server Side Rendering
- Vue + vue-router + vuex working together
- Server-side data pre-fetching
- Client-side state & DOM hydration
- Single-file Vue Components
- Hot-reload in development
- CSS extraction for production
- [bootstrap-sass](https://github.com/twbs/bootstrap-sass)
- [ESLint](http://eslint.org/) with Airbnb's base JS
- [i18next](http://i18next.com/) internationalization

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