index.js 268 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import Vue from 'vue'; import Vuex from 'vuex'; import store from './store'; Vue.use(Vuex); export function createStore() { return new Vuex.Store({ modules: { store }, strict: process.env.NODE_ENV !== 'production' }); }