I have problem with using commit like is described here. Probably problem is in that I use export default new Vuex.Store.
Here is my index.js file, i unfortunately have : warning in ./src/store/index.js "export 'default' (imported as 'Vue') was not found in 'vue' where I use Vuex and I want to call commit:
import Vue from 'vue'
import Vuex from "vuex";
Vue.use(Vuex);
import state from "./state";
import * as getters from './getters';
import * as mutations from'./mutations';
import * as actions from './actions';
export default new Vuex.Store({
state,
getters,
mutations,
actions
});