Vue SSR Boilerplate

github logo ・1 min read

Hi here!

I made 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

Roadmap

  • Service worker

GitHub logo antonreshetov / vue-ssr-boilerplate

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

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





I hope for someone it will be useful. For me, very))

twitter logo DISCUSS (1)
markdown guide
 

@antonreshetov not sure if you're also a Laravel developer, but can this work with Laravel? Examples would be neat :)

Classic DEV Post from May 3

Formidable Labs to Start Paying for OSS Contributions

An interesting blog post came out today from Formidable Labs. As the blog title s...

Anton Reshetov profile image
I'am a self taught frontend developer who started his journey into the world of JS at 30, founder of MySigMail.