0.2.1 • Published 3 years ago

@pi0/pinia-nuxt v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@pinia/nuxt

Nuxt 2 & 3 module

Installation

npm i @pinia/nuxt

Usage

Add to modules (Nuxt 3) or buildModules (Nuxt 2) in nuxt.config.js:

// Nuxt 2
export default {
  buildModules: [['@pinia/nuxt', { disableVuex: true }]],
}
// Nuxt 3
export default defineNuxtConfig({
    modules: ['@pinia/nuxt'],
})

Note you also need @nuxtjs/composition-api if you are using Nuxt 2 without Bridge. Refer to docs for more.

License

MIT

0.2.1

3 years ago

0.1.9

3 years ago

0.2.0-5

4 years ago

0.2.0-4

4 years ago

0.2.0-3

4 years ago

0.2.0-2

4 years ago

0.2.0-1

4 years ago