Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antonreshetov/vue-ssr-boilerplate

Vue SSR Boilerplate - Vuex & vue-router, server-side data pre-fetching, docker
https://github.com/antonreshetov/vue-ssr-boilerplate

boilerplate docker-vue ssr vue vue-boilerplate vue-cli-3 vue-ssr

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        




Vue SSR Boilerplate

A fork of [vue-cli-ssr-example](https://github.com/eddyerburgh/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:

```bash
yarn serve
```

Build for production:

```bash
yarn build
```

Start production server:

```bash
yarn start
```

## Docker

Build & run

```bash
docker-compose up --build -d
```

## Roadmap
- [ ] Service worker
- [ ] Update readme