Hi i tried to persist states creating a vuex mutation ‘xInit()’ that sets the states with the ionic storage on a mounting component. wich is basically ok. but i wanted to try something more generic so i tried to use ‘vuex-persist’
The plugin worked well with String states, but when trying to set Object states it seem to not work very well. got this error.
So my question is if any you know how to deal with this and persist vuex states?
And if its ok to caching/storing userdata/auth tokens on vuex side? Thanks.!