[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-vitest. An vitest environment with support for testing code that needs a Nuxt runtime environment
nuxt nuxt-module testing unit-testing vitest
0

Configure Feed

Select the types of activity you want to include in your feed.

nuxt-vitest / playground / plugins / indexeddb.ts
185 B 11 lines
1import { createStore } from 'idb-keyval' 2 3export default defineNuxtPlugin(() => { 4 const store = createStore('my-db', 'my-store') 5 6 return { 7 provide: { 8 store, 9 }, 10 } 11})