[Vuejs]-Vuex not keeping currentUser state on page refresh

0👍

Add plugins: [createPersistedState()], when creating store instance

export default new Vuex.Store({
          plugins: [createPersistedState()],}

Leave a comment