Answer the question
In order to leave comments, you need to log in
How to save data from vuex to instance's data?
Hello!
Such situation. When visiting a certain page, I pull the data by id in Vuex and save it in state.item: {}
. Further, on another tab, I need to display the data of this item in the form.
So here's the question. How to save correctly this.$store.getters.item
- here is this data in data on the page to use already in the form (v-model).
PS do not offer to update the input data immediately in Vuex :)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question