redux-store-mixin
Mixin for integrate action creators in methods of vue component
Install
npm install --save redux-store-mixin
Usage
1. Import mixin
;
2. Import our actionCreators
;
3. Import mapState-method for useful connect with props from redux-store
;
4. Create vue instance
mixins: ... ... computed: ... ... ...;
Example
Call action:
...methods: { this; }...
For more information see