Top "Vuex" questions

Vuex is a state management pattern + library for Vue.

Passing vuex module state into vue-router during beforeEach

I am using VueJS in conjunction with vuex and vue-router. I have a vuex module that is making a mutation …

javascript vue.js vue-router vuex
How to access vue instance in Vuex

I declare a global variable in the main.js of the Vue.js project. Vue.prototype.$API = "myapihere" And I …

javascript vue.js vuex vue-storefront
Is Vuex Store accessible from console or from client's browser?

I'm building this Vue 2 app, and I keep reading that one should use Vuex State management, in the beginning I …

vue.js vuejs2 vue-component vuex
Vuex mapstate object undefined and "[vuex] unknown mutation type: "

I'm new with vue.js and vuex and I've an issue with the mapstate object, first I've only one module …

vue.js vuejs2 vuex vuex-modules
How to embed font to all page with nuxt js

I just embed google font to the global setting in nuxt.config.js link: [ { rel: 'stylesheet', href: 'https://fonts.googleapis.…

vue.js vuex nuxt.js
TypeError: Cannot read property 'getters' of undefined

I'm trying to test a basic Vue Component that makes reference to a Vuex store. I thought I followed Vue's …

vue.js vuex vue-test-utils
VueJS - Vue is not defined

I have challenged myself to write an app that fetches data from API and displays it in various components. I …

vue.js vuex vue-resource
How do I break up my vuex file?

I have a vuex file with a growing mass of mutators, but I'm not sure of the correct way of …

vue.js vuex
Understanding State and Getters in Nuxt.js: Getters won't working

i'm new to Vue and Nuxt and i'm building my first website in Universal mode with these framework. I'm a …

vue.js vuex nuxt.js
Why is computed value not updated after vuex store update?

I got a printerList computed property that should be re-evaluated after getPrinters() resolve, but it look like it's not. sources …

vue.js computed-properties vuex