mirror of
https://github.com/withastro/astro.git
synced 2025-02-24 22:46:02 -05:00
* Initial MVP Debug component * Document the prettifying of the input * Just make `<Debug/>` a wrapper around `<Prism/>` lol * feat: add details/summary debug component * chore: remove Props (unused) * fix: prefer `div` to semantic elements * chore: format * fix: prop-drill `class` into components * fix: ensure `astro/components` are evaluated lazily * feat(debug): export debug component from `astro/debug` * fix: minimal example local snowpack config * docs: add debugging docs * chore: add changeset * docs: update debug docs Co-authored-by: Nate Moore <nate@skypack.dev>
189 B
189 B
astro |
---|
patch |
Add <Debug>
component for JavaScript-free client-side debugging.
---
import Debug from 'astro/debug';
const obj = { /* ... */ }
---
<Debug {obj} />