Questions tagged as 'vuex'

1
answer

How to return to the previous state? (Vuex)

I'm using Vuex to manage the states of my app and I'm creating an advance button and a back one, in the case of my progress I use the function below: addUser() { const payload = { name: this.name, email: this.email...
asked by 20.08.2018 / 15:36
3
answers

Doubt in computed method Vue using Vuex

I have the following code below using Vue.js and Vuex . This code increments and decrements value as a counter. I would like to know the count method within computed in the Vue instance. I know it returns the count status of...
asked by 12.09.2018 / 15:51
0
answers

PWA - with Vue and Vuex

I'm having a problem rendering the list in real time on smartphones, I get Vuex with computed: produtosFiltrados() { return store.state.listaProdutos.filter((produto) => { let query = produto.nome.toUpperCase(); return query.ma...
asked by 23.12.2018 / 14:56
1
answer

Capture changes that were rendered with state in vueJS

I am rendering data that is in state in vuex to some inputs that are scattered around the screen; I know I can not use the same method of a two-way-databiding to change the value of a state because it needs a commit to be ch...
asked by 23.01.2018 / 18:09