astro/examples
Matthew Phillips 94a513adc6 Gets Astro.fetchContent compilation to work (#1596)
* Gets Astro.fetchContent compilation to work

This fixes Astro.fetchContent so that we handle esbuild transforming the
name of the nested Astro call.

* Remove debugging

* Update the tests

* Remove another debugger
2021-10-22 16:25:37 -06:00
..
blog Add Markdown support 2021-10-22 16:25:36 -06:00
blog-multiple-authors Move Astro to Vite 2021-10-22 16:25:35 -06:00
docs Added descriptions to example (#1566) 2021-10-18 13:36:39 -05:00
framework-lit Version Packages (#1557) 2021-10-14 15:13:13 -04:00
framework-multiple Version Packages (#1557) 2021-10-14 15:13:13 -04:00
framework-preact Update tests 2021-10-22 16:25:35 -06:00
framework-react Version Packages (#1557) 2021-10-14 15:13:13 -04:00
framework-solid Version Packages (#1557) 2021-10-14 15:13:13 -04:00
framework-svelte Version Packages (#1557) 2021-10-14 15:13:13 -04:00
framework-vue Version Packages (#1557) 2021-10-14 15:13:13 -04:00
minimal Update tests 2021-10-22 16:25:35 -06:00
portfolio Gets Astro.fetchContent compilation to work (#1596) 2021-10-22 16:25:37 -06:00
starter Improve testing suite 2021-10-22 16:25:36 -06:00
with-markdown Version Packages (#1557) 2021-10-14 15:13:13 -04:00
with-markdown-plugins Version Packages (#1557) 2021-10-14 15:13:13 -04:00
with-nanostores Version Packages (#1557) 2021-10-14 15:13:13 -04:00
with-tailwindcss Version Packages (#1557) 2021-10-14 15:13:13 -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