0.0.3 • Published 6 months ago
@owdproject/module-pinia-localforage v0.0.3
Pinia LocalForage for Open Web Desktop
This module enables localforage within Pinia to store states persistently.
Installation
To install the module, run:
npm install @owdproject/module-pinia-localforageUsage
Define the module in your nuxt.config.ts:
export default defineNuxtConfig({
modules: ['@owdproject/module-pinia-localforage']
});Features
- Configures
pinia-plugin-persistedstate-2to uselocalforage - Enables persistent storage for Pinia stores
- Works seamlessly with Nuxt
License
This project is released under the MIT License.