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.
Vue.js
- Vue.js 2.2
- Vuex 2.2
- Vue Resource 1.2
- Vue Router 2.4
- Vue Loader 11
Webpack
- Basic, easy-to-understand Webpack 2 configuration
- 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
Getting Started
- Clone this repo
- cd into directory and run 'yarn'
- run 'npm run dev' to launch the dev server
Complete documentation coming soon.