/webpack-simple

A simple Webpack + vue-loader setup for quick prototyping.

Primary LanguageJavaScript

vue-webpack-simple-boilerplate

A simple Webpack setup for vue-loader for quick prototyping.

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init webpack-simple my-project
$ cd my-project
$ npm install
$ npm run dev

What's Included

  • npm run dev: Webpack + vue-loader with proper config for source maps & hot-reload.

  • npm run build: Production build with HTML/CSS/JS minification.

For detailed explanation on how things work, consult the docs for vue-loader.

Fork It And Make Your Own

You can fork this repo to create your own boilerplate, and use it with vue-cli:

vue init username/repo my-project