This is for Vue 2. If you're looking for a Vue 3 SSR boilerplate click here.
This is a kinda opinionated minimal starter package for Vue.js server side rendering with Webpack 4, Babel 7, Eslint & Airbnb Config, Vue Test Utils & Jest Prettier, SCSS, Autoprefixer etc.
You can run the following scripts with yarn
or npm
like yarn install
Script | Description |
---|---|
install |
Project setup |
dev |
Compile and start development server with hot-reload |
build |
Compile and minify for production |
start |
Start production server |
lint |
Run eslint for the entire project |
test |
Run all tests |
test:watch |
Start tests in watch mode |