↧
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 ArticleAnswer 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 ArticleHow 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