Skip to main content

devtools-vue

Vue adapter for the json-render devtools inspector. Use whenever the user wants to add, configure, or troubleshoot @json-render/devtools-vue in a Vue json-render app, including spec inspection, state editing, action and stream timelines, catalog browsing, or DOM picking.

Informations de source

Dépôt
vercel-labs/json-render
Dernière activité de la source
18 septembre 2026 à 18:44
Langue détectée de SKILL.md
anglais
Étoiles
18 686
Forks
992

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
devtools-vue
description
Vue adapter for the json-render devtools inspector. Use whenever the user wants to add, configure, or troubleshoot @json-render/devtools-vue in a Vue json-render app, including spec inspection, state editing, action and stream timelines, catalog browsing, or DOM picking.
# @json-render/devtools-vue Vue adapter for the json-render devtools panel. Read `skills/devtools/SKILL.md` for the shared panel capabilities, props, docking behavior, and server-side stream taps. ## Install ```bash npm install @json-render/devtools @json-render/devtools-vue ``` ## Mount the panel Mount `JsonRenderDevtools` inside the existing Vue json-render provider: ```vue <script setup> import { JsonRenderDevtools } from "@json-render/devtools-vue"; </script> <template> <JSONUIProvider :registry="registry"> <Renderer :spec="spec" :registry="registry" /> <JsonRenderDevtools :spec="spec" :catalog="catalog" :messages="messages" /> </JSONUIProvider> </template> ``` The component renders nothing in production builds. The panel provides the shared devtools controls, including the `Ctrl`/`Cmd` + `Shift` + `J` shortcut. Keep server-side stream instrumentation in `@json-render/devtools`.
Voir sur GitHub