Top "Vuex-modules" questions

Use this tag for Vuex questions in which the store is subdivided into Vuex modules.

How to create getters and setters for vuex namespaced module state

If I have a Vuex module which is namespaced, how to create the getters and setters for the states in …

vuejs2 vue-component vuex vuex-modules
Nuxt.js Loading data serverside with nuxtServerInit and Vuex

Currently i am working on storing data for a job opening application. For the backend i use Laravel and for …

javascript vue.js vuex nuxt.js vuex-modules
Access module from Vuex Store

I have the following module: export const ProfileData = { state: { ajaxData: null; }, getters: {/*getters here*/}, mutations: {/*mutations here*/}, actions: {/*actions here*/} } …

vue.js vuejs2 vue-component vuex vuex-modules
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
NuxtServerInit not working on Vuex module mode - Nuxt.js

NuxtServerInit is not working on initial page render on nuxt js vuex module mode. But it works on Classic mode. …

vue.js vuex nuxt.js vuex-modules
Can a Vuex module watch another Vuex module?

Can Vuex modules watch the state of other modules, and trigger actions consequently? For example, let's consider the following case: …

vue.js vuex vuex-modules
Accessing vuex module state from another module

I'm learning vuex and making some headway but I'm stuck on something. I have a vue component with a store …

vue.js vuejs2 vuex vuex-modules