Vue + vue-router + vuex boilerplate with server-side rendering
Switch branches/tags
Nothing to show
Clone or download
Latest commit 06edaae Dec 3, 2016
Permalink
Failed to load latest commit information.
build Initial commit Nov 23, 2016
public Initial commit Nov 23, 2016
src Initial commit Nov 23, 2016
.babelrc Initial commit Nov 23, 2016
.editorconfig Initial commit Nov 23, 2016
.eslintrc.js Initial commit Nov 23, 2016
.gitignore Initial commit Nov 23, 2016
README.md Removed yarn Dec 3, 2016
manifest.json Initial commit Nov 23, 2016
package.json Initial commit Nov 23, 2016
server.js Initial commit Nov 23, 2016

README.md

vue-ssr-boilerplate

A stripped down version of vue-hackernews-2 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
  • ESLint with Airbnb's base JS
  • i18next internationalization

Architecture Overview

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

Build Setup

Requires Node.js 6+

# 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