Closed uwejan closed 4 years ago
Just pass in a different key name as option when creating a new plugin instance.
import createPersistedState from 'vuex-persistedstate'
export default ({store}) => {
createPersistedState({
key: 'customkey',
})(store)
}
Hi. Am using latest version of npm and vuex-persistedstate. The image shows that on my localStorage tab on dev console. there is
vuex
key, i was wondering if there is a way to change it. Thanks.