File: app/components/test-todomvc/store/index.js

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy  >  Vuex Examples  >  app/components/test-todomvc/store/index.js  >  Download  
File: app/components/test-todomvc/store/index.js
Role: Example script
Content type: text/plain
Description: Example script
Class: Vuex Examples
Example apps using Vuex state management pattern
Author: By
Last change:
Date: 3 years ago
Size: 463 bytes


Class file image Download
], function (Vue, Vuex, mutations, plugins) {


    // A Vuex instance is created by combining the state, mutations, actions,
    // and getters.
    var store = new Vuex.Store({
        state: mutations.state,
        mutations: mutations.mutations,
        plugins: plugins
    return store;