README
@pinia/nuxt
Nuxt 2 & 3 module
Installation
npm i @pinia/nuxt
Usage
Add to buildModules
in nuxt.config.js
:
export default {
buildModules: [['@pinia/nuxt', { disableVuex: true }]],
}
Note you also need @nuxtjs/composition-api
if you are using Nuxt 2 without Bridge. Refer to docs for more.