Skip to content

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

License

Notifications You must be signed in to change notification settings

antonreshetov/vue-ssr-boilerplate

Repository files navigation

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