Open fcarvalhodev opened 4 years ago
Has it been solved? I've come across this problem now 有解决吗 我现在也碰到这个问题了
Has it been solved? I've come across this problem now 有解决吗 我现在也碰到这个问题了
Since they didn't answer this issue, I don't think they had solved.
Vuex Persistence
Behavior
Hello everyone! So... this template has a data loss when page reaload. I think it's because we dont have vuex-persistence plugin in the application. Is there other vuex persistence to avoid data loss when reload the page ? How are you guys handle this ?
The issue
When page reload we lose our vuex data.
What you guys thinik about this ?
Maybe we could have a boolean parameter on our vuex modules to handle this situation. This parameter would be in charge of set if we want that module persist or not.
Motivation
Persist user data on vue store to avoid re-login when users reload the page