/vue-ssr-webpack

vue-cli template that has server side render, webpack 2 and unit testing setup

Primary LanguageJavaScript

ssr-webpack

A Full Stack SSR vue-cli template project

Uses the following Packages

  • Webpack 2
  • Vue 2.x
  • Vuex
  • Vue-Router
  • Express
  • Vue-Meta
  • Mocha
  • testdom (jsdom for unit tests in node)

Build Setup

# install dependencies
npm install
# or if you have yarn installed
yarn install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run test

# run unit tests in auto-refreshing browser tab @ localhost:8888/test/
npm run test:dev

# run unit tests with coverage reporting
npm run test:cov