index.js 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import Vue from 'vue' import Vuex from 'vuex' import state from './state' import * as mutations from './mutations' import * as actions from './actions' Vue.use(Vuex) const store = () => new Vuex.Store({ state, mutations, actions }) export default store