Skip to main content

devtools-svelte

Svelte 5 adapter for the json-render devtools inspector. Use whenever the user wants to add, configure, or troubleshoot @json-render/devtools-svelte in a Svelte 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-svelte
description
Svelte 5 adapter for the json-render devtools inspector. Use whenever the user wants to add, configure, or troubleshoot @json-render/devtools-svelte in a Svelte json-render app, including spec inspection, state editing, action and stream timelines, catalog browsing, or DOM picking.
# @json-render/devtools-svelte Svelte 5 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-svelte ``` ## Mount the panel Mount `JsonRenderDevtools` inside the existing Svelte json-render provider: ```svelte <script> import { JsonRenderDevtools } from "@json-render/devtools-svelte"; </script> <JSONUIProvider {registry}> <Renderer {spec} {registry} /> <JsonRenderDevtools {spec} {catalog} {messages} /> </JSONUIProvider> ``` 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 查看