/vue-ssr-boilerplate

Vue SSR Boilerplate - Vuex & vue-router, server-side data pre-fetching, docker

Primary LanguageJavaScriptMIT LicenseMIT

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