astro/examples
Caleb Jasik efb41f22c3
Add Astro <Debug/> component (#675)
* 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>
2021-08-23 16:43:22 -04:00
..
blog Version Packages (#1181) 2021-08-23 15:59:55 -04:00
blog-multiple-authors Version Packages (#1181) 2021-08-23 15:59:55 -04:00
docs Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-lit Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-multiple Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-preact Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-react Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-solid Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-svelte Version Packages (#1181) 2021-08-23 15:59:55 -04:00
framework-vue Version Packages (#1181) 2021-08-23 15:59:55 -04:00
minimal Add Astro <Debug/> component (#675) 2021-08-23 16:43:22 -04:00
portfolio Version Packages (#1181) 2021-08-23 15:59:55 -04:00
snowpack Version Packages (#1181) 2021-08-23 15:59:55 -04:00
starter Version Packages (#1181) 2021-08-23 15:59:55 -04:00
with-markdown Version Packages (#1181) 2021-08-23 15:59:55 -04:00
with-markdown-plugins Version Packages (#1181) 2021-08-23 15:59:55 -04:00
with-nanostores Version Packages (#1181) 2021-08-23 15:59:55 -04:00
with-tailwindcss Version Packages (#1181) 2021-08-23 15:59:55 -04:00
README.md Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -05:00

Astro Examples Library

The easiest way to check out one of these examples on your machine is by running this command in an empty directory:

npm init astro -- --template [EXAMPLE_NAME]

Community Examples

Visit awesome-astro for a full list of community examples. You can use npm init astro to check out any community examples:

npm init astro -- --template [GITHUB_USER]/[REPO_NAME]

Paths to examples nested inside of a repo are also supported:

npm init astro -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example