Thx guys.
In fact i was searching too far ><. @patryckx effectively, i’ve just put my localStorage.getItem result into my state.
Sometimes i’m just so into it and i can’t see above my nose :d.
I close the topic.

Best posts made by AtChA
-
RE: How to use replaceState in mutations ?
Latest posts made by AtChA
-
RE: How to use replaceState in mutations ?
Thx guys.
In fact i was searching too far ><. @patryckx effectively, i’ve just put my localStorage.getItem result into my state.
Sometimes i’m just so into it and i can’t see above my nose :d.
I close the topic. -
How to use replaceState in mutations ?
Hello all.
I would like to replaceState with localStorage data.
Unfortunately, i don’t understand how i can access to the Vuex Store object in mutations.js file.
Can you help me ?Thanks in advance.