Skip to content

Releases: lgd8981289/vuex-persistedstate

1.0.6

13 Sep 09:42
Compare
Choose a tag to compare

Add vuex 3 compatibility and testing

1.0.4

13 Sep 08:29
Compare
Choose a tag to compare
export interface Options<State> {
  /**
   * localStorage saved key
   */
  key: string
  /**
   * cached module name
   * Do not pass means cache all
   * pass only the specified cache
   */
  paths: string[]
  /**
   * storage
   */
  storage: Storage
  /**
   * Whether to prefetch data
   */
  fetchBeforeUse: boolean
  /**
   * Default method of prefetching data
   */
  fetchBeforeUseFn: (key: string, storage: Storage) => any
}