This is a Nuxt plugin for pinia-logger It's a wrapper around the pinia-logger plugin that adds Nuxt specific features.
yarn add @pinia/nuxt
yarn add pinia-logger-nuxt
# or
npm install @pinia/nuxt
npm install pinia-logger-nuxt
// nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ["@pinia/nuxt", "pinia-logger-nuxt"],
piniaLogger: {
expanded: true,
disabled: false,
showPineapple: false,
},
});
see pinia-logger for more options