In this lesson, learn how to setup a comprehensive global state management solution with Pinia. Pinia is the official state management solution for Vue.js and can be installed as a Nuxt module.
npm install @pinia/nuxt
Pinia provides superior devtools support and conventions. You can also configure Nuxt to auto import stores and store helper functions.