I
I
idkw132019-08-06 10:44:38
Vue.js
idkw13, 2019-08-06 10:44:38

How to store data in components when routing?

I have several components that will switch on routing and I need to store data in fields when transitioning between them.
example:
I filled in the data about you in the "Create contact" component, but I need to create a new category, go to "Create category" create a category and I need to return to "Create contact" and so that all this data does not disappear and I can add you a new one category.
if you need to clarify something, write)
In which direction should I google?)
localstorage?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#FFFFFF, 2019-08-06
@victory_vas

vuex? doka

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question