@owdproject/module-pinia-localforage

0.0.3 • Public • Published

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-localforage

Usage

Define the module in your nuxt.config.ts:

export default defineNuxtConfig({
  modules: ['@owdproject/module-pinia-localforage']
});

Features

  • Configures pinia-plugin-persistedstate-2 to use localforage
  • Enables persistent storage for Pinia stores
  • Works seamlessly with Nuxt

License

This project is released under the MIT License.

Package Sidebar

Install

npm i @owdproject/module-pinia-localforage

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

3.99 kB

Total Files

6

Last publish

Collaborators

  • dxlliv