0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples
Matthew Phillips b6a75494b1
Add types to examples and docs (#1347)
* Adds a changeset

* Add types to examples and docs

* Make changes based on review feedback

* Avoid using the variable named props

* Make path a const
2021-09-14 09:14:39 -04:00
..
blog Add types to examples and docs (#1347) 2021-09-14 09:14:39 -04:00
blog-multiple-authors Add types to examples and docs (#1347) 2021-09-14 09:14:39 -04:00
docs Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-lit Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-multiple Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-preact Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-react Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-solid Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-svelte Version Packages (#1344) 2021-09-09 10:57:16 -07:00
framework-vue Version Packages (#1344) 2021-09-09 10:57:16 -07:00
minimal Version Packages (#1344) 2021-09-09 10:57:16 -07:00
portfolio Add types to examples and docs (#1347) 2021-09-14 09:14:39 -04:00
snowpack Version Packages (#1344) 2021-09-09 10:57:16 -07:00
starter Version Packages (#1344) 2021-09-09 10:57:16 -07:00
with-markdown Version Packages (#1344) 2021-09-09 10:57:16 -07:00
with-markdown-plugins Version Packages (#1344) 2021-09-09 10:57:16 -07:00
with-nanostores Version Packages (#1344) 2021-09-09 10:57:16 -07:00
with-tailwindcss Version Packages (#1344) 2021-09-09 10:57:16 -07: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