npm run dev 编译程序的时候,报一下错误,但是已经安装了vuex-along
"export 'default' (imported as 'vuexAlong') was not found in 'vuex-along'
import Vue from 'vue';
import vuexAlong from 'vuex-along';
import Vuex from 'vuex';
Vue.use(Vuex);
const store = new Vuex.Store({
state: {
author: 'luo'
},
plugins: [vuexAlong]
});
export default store;
版本问题,装1.1.5就行了
好的 谢谢