I need help updating my data values with values from store.js. Whenever I try the code below, I keep getting a blank page error.
Here's how I have it set up in App.vue:
data() {
return {
storeState: store.state,
Counter: this.storeState.Counter,
}
}
And here is what my store.js file looks like:
export const store = {
state: {
Counter: 1,
}
CounterUpdater(value) {
this.state.Counter = (value);
},
}