/vue-boilerplate

A back-to-basics, loosely opinionated Vue.js project boilerplate. Includes everything to get your next Vue app started within minutes.

Primary LanguageJavaScript

Simple Vue.js Boilerplate

This is a simple, loosely opinionated boilerplate designed to get your next app off the ground as quickly as possible. The vue-cli offers a great starting point, however much of the tooling and configuration is complicated and difficult to modify if you lack experience in webpack. This boilerplate aims to simplify configuration as much as possible and provide an approachable starting point for those who are less webpack-inclined.

This Vue.js Boilerplate implements some basic configuration and folder structure to rapidly scaffold your Vue project with the latest Vue plugins and asset compilation pipeline.

Features


Libraries

  • Vue.js
  • Vuex
  • Vue Router
  • Axios HTTP client

Webpack

  • Basic, easy-to-understand Webpack configuration
  • Single file Vue components with vue-loader
  • Hot module replacement enabled development server
  • Code Splitting (vendor, framework, manifest, main) for cacheing and performance
  • Babel
  • SASS compilation
  • Autoprefixer
  • Asset name hashing for production builds
  • Uglify JS
  • Extract text plugin for minified stylesheet in production

ESLint

  • Extends AirBnB config
  • Webpack resolver plugin

Documentation

Getting Started

  • Clone this repo
  • cd into directory and run 'npm install'
  • run 'npm run dev' to launch the dev server

Complete documentation coming soon.