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.

来源信息

仓库
vercel-labs/json-render
最近来源活动
2026年9月18日 18:44
检测到的 SKILL.md 语言
英语
星标
18,614
分支
987

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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`.
在 GitHub 查看