DEV Community

Cover image for Nuxt State Monitor
Cloud Nine
Cloud Nine

Posted on

1

Nuxt State Monitor

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"/>

GitHub: https://github.com/Laravel42/nuxt-state-monitor

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay