Socket
Socket
Sign inDemoInstall

@pinia/nuxt

Package Overview
Dependencies
186
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pinia/nuxt

Nuxt Module for pinia


Version published
Maintainers
2
Install size
39.1 MB
Created

Readme

Source

@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

Keywords

FAQs

Last updated on 17 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc