ulivz / webpack-simple-vuex

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack-simple-vuex

A simple Vue 2.0 Webpack & vue-loader & wuex setup for quick prototyping. Note this template is not suitable for production - for that you may want to use the full webpack template.

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init ulivz/webpack-simple-vuex 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: build with HTML/CSS/JS minification.

For detailed explanation on how things work, consult the docs for vue-loader and docs for vuex. Also check out the breaking changes in vue-loader@9.0.0.

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

About

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


Languages

Language:JavaScript 63.4%Language:Vue 33.6%Language:HTML 3.1%