I got it. It’s because of wrong installation style of vuex. Wrong new Vue({ store, render: h => h(App), }).$mount('#app') Correct new Vue({ render: h => h(App), store: store, }).$mount('#app')