Builds a storage wrapper for storages using the same API as localStorage.
Key used to store the persisted state.
The storage object (implementing localStorage API).
Custom conversion from state object to string (default is JSON.stringify).
Custom conversion from string to state object (default is JSON.parse).
Outer - The Vuex state type.
Builds a storage wrapper for storages using the same API as localStorage.