vue-typescript-admin-template icon indicating copy to clipboard operation
vue-typescript-admin-template copied to clipboard

Vuex Persistence.

Open fcarvalhodev opened this issue 5 years ago • 2 comments

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

fcarvalhodev avatar Jul 26 '20 14:07 fcarvalhodev

Has it been solved? I've come across this problem now 有解决吗 我现在也碰到这个问题了

yeyue1992 avatar Nov 24 '20 03:11 yeyue1992

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.

fcarvalhodev avatar Nov 24 '20 21:11 fcarvalhodev