Vuex-Watcher
Vue-Watcher was created to empower Vue.js developers to easily utilize Vuex subscribers similalr to vue's data prop watcher
This is compatible with Vue 2.*
This is an Alpha build, use at your own risk
Table of Contents
NPM Install
npm install vuex-watcher
Local Clone
$ git clone https://github.com/AndrewR3K/vuex-watcher.git vuex-watcher$ cd vuex-watcher$ npm install
Development
$ npm install $ npm run dev
Usage
An in-depth example application can be found within /example folder of this repo.
General Usage
;const myVueWatcher = environment: 'development' watches: getter: 'getactive' console Vuex
Environment
It is recommended to set the environment to "production" when running in a production state.
Options: 'development', 'production'
environment: <environment>
Watcher Types
State
watches: state: 'text' console
Getters
watches: getter: 'getactive' console