0👍
You should use deep watcher on your state:
data: () => {
return {
goals: []
};
},
computed: {
...mapState('goalList', ['goalList']),
},
watch: {
goalList: {
handler(updatedGoals) {
this.goals = updatedGoals
},
deep: true
}
}
- [Vuejs]-Vue app after deploying on localhost is blank
- [Vuejs]-Cant set cookie. Providing full code on codeSandBox of a back and a front. Does anybody see an issue. Thank you! Express + Vue 3
Source:stackexchange.com