Top "Vuex" questions

Vuex is a state management pattern + library for Vue.

Reload Data of vue-tables-2 (Vuex)

Module: https://github.com/matfish2/vue-tables-2 I'm creating a CRUD app. How can I reload the data fetched via Ajax …

vue.js vuejs2 vuex vue-tables-2
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
Checking auth token valid before route enter in Vue router

I have a simple use case, where my application is using vue-router and vuex. Then store contains a user object …

vue.js vuejs2 vue-component vue-router vuex
mapState with setter

I would like to assign setter methods via mapState. I currently use a workaround where I name the variable that …

vue.js vuex
vuex store doesn't update component

I'm new to vue, so I'm probably making a rookie error. I have a root vue element - raptor.js: …

javascript vuex
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
Access vue vuex namespaced getter from template

I have made vuex namespaced getter mapping in my .vue component like this: ...mapGetters([ 'fooModule/barGetter' ]) now how do i …

vue.js vuejs2 vuex
Nuxt + Vuex - How do I break down a Vuex module into separate files?

In the Nuxt documentation (here) it says 'You can optionally break down a module file into separate files: state.js, …

javascript vue.js vuex nuxt.js
Vue.js: Nuxt error handling

Struggling a bit to set up error handling with vuex. There seems to be quite a few ways to do …

javascript vue.js vuejs2 vuex nuxt.js