You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
importcreatePersistedStatefrom'vuex-persistedstate'exportdefault({ store })=>{createPersistedState({key: 'lekey',paths: [],storage: {getItem: key=>localStorage.getItem(key),setItem: (key,value)=>localStorage.setItem(key,value),removeItem: key=>localStorage.removeItem(key)}})(store)}
What you did: Used the library with Nuxt with a very simple configuration that works on another of my projects.
What happened: When using the latest version the value in the local storage is always empty {} but when I downgrade to version ^2.7.1 it works perfectly. (The value in the local storage is populated with the store.
The text was updated successfully, but these errors were encountered:
vuex-persistedstate
version: 3.1.0node
version: v12.18.3npm
(oryarn
) version: 6.14.6Relevant code or config
What you did: Used the library with Nuxt with a very simple configuration that works on another of my projects.
What happened: When using the latest version the value in the local storage is always empty
{}
but when I downgrade to version ^2.7.1 it works perfectly. (The value in the local storage is populated with the store.The text was updated successfully, but these errors were encountered: