Nuxt State Monitor is a lightweight Nuxt open-source module that allows to monitor and edit all variables stored in Nuxt's native state, including custom data of any type. This is useful for debugging, managing state, and keeping track of custom runtime data in a seamless and developer-friendly way.
Features
- π State Monitoring: Real-time monitoring of all Nuxt native states.
- π§ State Editing: Dynamically edit the state directly from the UI.
- π Custom Data Monitoring: Watch and manage custom data objects and variables.
- π State Import/Export: Effortlessly import and export state data for debugging or sharing.
- β‘ Zero Configuration: Minimal setup and configuration needed.
- π» Developer-Friendly UI: A sleek and intuitive UI to track and manage states.
Installation
npx nuxi@latest module add nuxt-state-monitor
Usage
Add the component in App.vue to enable the monitor globally, or in single pages if you want to keep track of custom data also (optional).
<NuxtStateMonitor custom-data="additional"/>
Top comments (0)