https://github.com/ulivz/webpack-simple-vuex
A simple Webpack + vue-loader + vuex setup for quick prototyping.
https://github.com/ulivz/webpack-simple-vuex
Last synced: 6 months ago
JSON representation
A simple Webpack + vue-loader + vuex setup for quick prototyping.
- Host: GitHub
- URL: https://github.com/ulivz/webpack-simple-vuex
- Owner: ulivz
- Created: 2017-12-27T11:43:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T10:38:00.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T23:12:34.136Z (8 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/vuejs-templates/webpack).
### Usage
This is a project template for [vue-cli](https://github.com/vuejs/vue-cli).
``` bash
$ 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](http://vuejs.github.io/vue-loader) and [docs for vuex](http://vuejs.github.io/vuex). Also check out the [breaking changes in vue-loader@9.0.0](https://github.com/vuejs/vue-loader/releases/tag/v9.0.0).
### Fork It And Make Your Own
You can fork this repo to create your own boilerplate, and use it with `vue-cli`:
``` bash
vue init username/repo my-project
```