Skip to content

chore(playground): load docs examples from the registry catalog - #789

Merged
johnleider merged 1 commit into
masterfrom
feat/playground-registry
Aug 8, 2026
Merged

chore(playground): load docs examples from the registry catalog#789
johnleider merged 1 commit into
masterfrom
feat/playground-registry

Conversation

@johnleider

@johnleider johnleider commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

Playground loads docs examples from the official /registry/* catalog (same seed as vuetify add).

  • Deep-links: ?example=dialog, ?example=dialog/basic, ?example=components/dialog/basic, optional ?registry=
  • File → Open example… browser (Docs examples | Saved)
  • Docs “Open in Playground” stays hash-based by default; short registry URLs with VITE_PLAYGROUND_REGISTRY=1
  • CORS on /registry/* (already on master via docs: publish a static registry for vuetify add #721; branch rebased)

Depends on: #721 (merged — registry live at https://0.vuetifyjs.com/registry/index.json)

Test plan

  • Rebase onto latest master (nginx conflict resolved — keep Allow-Headers)
  • Prod registry reachable + CORS *
  • Resolve dialog / basic item JSON + file list
  • PR Checks green after push
  • Spot-check File → Open example… in a local playground if needed

Related

Add short deep-links (?example=), a File → Open example browser against
/registry/*, and hash-based docs Open-in-Playground until the seed is
live (opt in with VITE_PLAYGROUND_REGISTRY=1). CORS on /registry for
cross-origin fetches.
@johnleider
johnleider force-pushed the feat/playground-registry branch from cedccef to d4c05ce Compare August 8, 2026 03:08
@johnleider
johnleider merged commit 7758fd6 into master Aug 8, 2026
22 checks passed
@johnleider
johnleider deleted the feat/playground-registry branch August 8, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant