Skip to content

v0.1.1

Latest
Compare
Choose a tag to compare
@BosNaufal BosNaufal released this 29 Jan 01:40
· 7 commits to master since this release

Add Requirement

When you install the Vuex Saga plugin. You should put your store as an agurment. It's used for fixing some bugs and make your component become more natural and testable since we pass the real store object. You can check it in documentation.

import Vue from 'vue';
import Vuex from 'vuex';
import VuexSaga from 'vuex-saga';

// Make A Vuex Store
Vue.use(Vuex)
const store = new Vuex.Store({
  modules: { /* Some Modules */ }
})

// Install it by pass your store to be an option argument (Since v0.1.0)
Vue.use(VuexSaga, { store })