//Vuex index.js 源码
import Vue from 'vue'; import Vuex from 'vuex'; Vue.use(Vuex);import actions from './actions' import mutations from './mutations' import state from './state' import getters from './getters'
let store = new Vuex.store({ actions, mutations, state, getters, })
export default store 报错
解决:实例化输错