Skip to content
Vue SSR Boilerplate - Vuex & vue-router, server-side data pre-fetching, docker
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public chore: add image Mar 4, 2019
src
.browserslistrc refactor: dedicate configuration Mar 4, 2019
.eslintrc.js refactor: dedicate configuration Mar 4, 2019
.gitignore
.postcssrc.js
Dockerfile
LICENSE chore: udpate LICENSE Mar 4, 2019
README.md
babel.config.js fix: remove Babel polyfill from production (#16) Feb 8, 2019
docker-compose.yml
package.json chore: add description & repo url Mar 4, 2019
server.js
vue.config.js style: code format Mar 4, 2019
yarn.lock

README.md

Vue SSR Boilerplate

A fork of vue-cli-ssr-example that adds some additional features.

Features

Server Side Rendering

  • Vue + vue-router + vuex working together
  • Server-side data pre-fetching
  • Client-side state & DOM hydration
  • Route-level code splitting

Progressive Web App

  • App manifest

Usage

Install dependencies:

yarn

Start dev server:

yarn serve

Build for production:

yarn build

Start production server:

yarn start

Docker

Build & run

docker-compose up --build -d

Roadmap

  • Service worker
  • Update readme
You can’t perform that action at this time.