All Questions
Tagged with electron-vue vuex
3
questions
1
vote
2
answers
919
views
Mutation payload changes value by itself in vuex store mutation
I'm trying to build an Electron app with VueJS using the electron-vue boilerplate. I have a mutation which updates parts of the state based on the payload it receives.
However, somewhere between the ...
4
votes
1
answer
2k
views
Vuex Electron: Exception when committing mutation
I am writing an Electron app using Vue and Vuex.
My store is as follows (counter.js):
const state = {
main: 5
};
const mutations = { // synchronous tasks
INCREMENT_MAIN_COUNTER (state) {
...
0
votes
2
answers
218
views
electron-vue ~ Cannot update vuex state with RxJS subscribe
I have two functions in my mutations and two state
const state = {
files: [],
uploadProgress: 0
}
const mutations = {
SET_UPLOAD_IMAGE: (state, files) => {
state.files = ...