How and where to store the state of objektov when refreshe in Vue.js?

A single page application in Vue js.
How to maintain a state of the model when refreshe?
June 7th 19 at 14:59
3 answers
June 7th 19 at 15:01
localStorage
and there are alternatives?
the model is the same Jason? - Tristin18 commented on June 7th 19 at 15:04
, indexedDB - Janessa.Kirlin commented on June 7th 19 at 15:07
,
the model in Jason

And th?
JSON.stringify(this.$data)
JSON.parse(dataFromLocalStorage)
- Kameron_Hilpert34 commented on June 7th 19 at 15:10
June 7th 19 at 15:03
June 7th 19 at 15:05
As Varick Vuex.

Find more questions by tags JavaScriptVue.jsOne-page application