Quantcast
Channel: How to update state in a component when the value changed at vuex store? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Nora for How to update state in a component when the value changed...

In your NotificationBarComponent.vue template:<div><div class="text-center"><strong> {{ message }} </strong></div></div>In your NotificationBarComponent.vue...

View Article


Answer by Bert for How to update state in a component when the value changed...

The code is setting store.showPromptMsg = false;I expect you wantstate.showPromptMsg = false;

View Article


How to update state in a component when the value changed at vuex store?

In vuex store I have this mutations which receives msg from one component and is to show/hide prompt message at another component (Like You are logged in propmpt after successful login) :setPromptMsg:...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images