This module registers pinia-plugin-persistedstate-2 with storage backed by idb-keyval (small ESM library on IndexedDB). It avoids legacy UMD packages such as localforage, which break under Vite’s native ESM handling (does not provide an export named 'default').
- Async
getItem/setItem/removeItemcompatible with the persisted-state plugin - Client-only Nuxt plugin (same pattern as before)
pnpm desktop add @owdproject/module-persistenceThis module is released under the MIT License.