A Vuex-ORM plugin (v0.3.2) that syncs Vuex Store data with IndexedDB via LocalForage. It adds Vuex actions ($fetch, $create, $update, $delete, etc.) to load and persist model data from/to IndexedDB. Supports per-model LocalForage configuration and action name customization to avoid conflicts with other Vuex-ORM plugins. Requires @vuex-orm/core ^0.36.3. Stable but rarely updated; last release 2017.
npm install vuex-orm-localforageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up VuexORM with the LocalForage plugin, registers a Todo model, and configures IndexedDB database name.
Use a modern alternative like Pinia ORM with persistence or update manually.
Customize action names via the 'actions' option when calling VuexORM.use().
Explicitly set localforage driver: e.g., localforage: { driver: localforage.INDEXEDDB }.Pin @vuex-orm/core to 0.36.x or check compatibility with newer versions.
Ensure you have @vuex-orm/core installed and imported: import VuexORM from '@vuex-orm/core'
Make sure to call VuexORM.use(VuexORMLocalForage, { database }) and register the model with database.register() before creating the store.Use the built-in localforage via import localforage from 'localforage' if needed for driver constants.