I have a Vuex store, which I\'m injecting into my instance:
import store from \'../store\'; const mainNav = new Vue({ el: \'#main-nav\', store, compon
When adding new properties to an Object from your Vuex store, you should either use
Vuex
Vue.set(obj, 'newProp', 123)
or replace that Object with a fresh one
state.obj = { ...state.obj, newProp: 123 }
From Vuex docs