Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 612 Bytes

README-nuxt.md

File metadata and controls

33 lines (25 loc) · 612 Bytes

Pinia Logger Nuxt Plugin

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

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,
  },
});

Options

see pinia-logger for more options