pinia-logger-nuxt
Pinia Logger Nuxt Plugin
This is a Nuxt plugin for pinia-logger. It is 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
Usage
// 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 https://www.npmjs.com/package/pinia-logger for more options
Related Packages
nuxt-spa-store-init
A simple Nuxt module that will hydrate the VueX store when running in SPA mode (...
4,282
14
Version History
| Version | Released | License |
|---|---|---|
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |