Top "Vuex" questions

Vuex is a state management pattern + library for Vue.

vue.js 2 how to watch store values from vuex

I am using vuex and vuejs 2 together. I am new to vuex, I want to watch a store variable change. …

javascript vue.js vuejs2 vuex
Vuex - Computed property "name" was assigned to but it has no setter

I have a component with some form validation. It is a multi step checkout form. The code below is for …

vue.js vuejs2 vue-component vuex
Vuex - passing multiple parameters to mutation

I am trying to authenticate a user using vuejs and laravel's passport.I am not able to figure out how …

vue.js vuejs2 vuex
Returning Promises from Vuex actions

I recently started migrating things from jQ to a more structured framework being VueJS, and I love it! Conceptually, Vuex …

promise vue.js es6-promise state-management vuex
How do I format currencies in a Vue component?

My Vue component is like this : <template> <div> <div class="panel-group"v-for="item in list"&…

vue.js vuejs2 vue-component vuex
Vuex state on page refresh

My app uses the Firebase API for User Authentication, saving the Login status as a boolean value in a Vuex …

javascript vue.js vuejs2 state vuex
VueJS access child component's data from parent

I'm using the vue-cli scaffold for webpack My Vue component structure/heirarchy currently looks like the following: App PDF Template …

vue.js vue-component vuex
Call an action from within another action

I have the following setup for my actions: get1: ({commit}) => { //things this.get2(); //this is my question! }, get2: ({commit}) =&…

vue.js vuex
Can I call commit from one of mutations in Vuex store

I have a vuex store, like following: import spreeApi from '../../gateways/spree-api' // initial state const state = { products: [], categories: [] } // mutations …

javascript vue.js vuex
Vuex: Access State From Another Module

I want to access state.session in instance.js from records_view.js. How is this accomplished? store/modules/instance.…

javascript vue.js vuex