Skip to content

BenjaminListwon/vue-vuex-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Vue 2.x / vuex 2.x Demo

A little while ago I wrote a piece about using vuex to manage state in a Vue 2.0 app, and how to implement a shared store on your own. This repo is the continuation of the vuex implementation, as we add modules, organize actions and mutations using files and constants, and more.

Build Setup

The repo is based off the browserify vue-cli template, so the usual npm commands apply.

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# lint all *.js and *.vue files
npm run lint

# run unit tests
npm test

For more information see the docs for vueify.

About

An evolving demo of vuex functionality for Vue 2.0 / vuex 2.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published