0👍
✅
Vuex doesn’t persist the data by default.
You may use this package https://github.com/robinvdvleuten/vuex-persistedstate
which persists data by storing them in local storage.
However, if you are using it in ssr/universal mode, you need to do further tweak to make it work you may follow this issue threads.
Source:stackexchange.com