0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples
2023-02-21 16:31:28 -06:00
..
basics [ci] release (#6279) 2023-02-17 13:44:15 -05:00
blog Fix import of type HTMLAttributes in blog example (#6322) 2023-02-21 14:21:19 +01:00
component [ci] release (#6279) 2023-02-17 13:44:15 -05:00
deno [ci] release (#6279) 2023-02-17 13:44:15 -05:00
docs fix(examples/docs): future-proof Discord link (#6325) 2023-02-21 16:31:28 -06:00
framework-alpine [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-lit [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-multiple [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-preact [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-react [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-solid [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-svelte [ci] release (#6279) 2023-02-17 13:44:15 -05:00
framework-vue [ci] release (#6279) 2023-02-17 13:44:15 -05:00
hackernews [ci] release (#6279) 2023-02-17 13:44:15 -05:00
integration [ci] release (#6279) 2023-02-17 13:44:15 -05:00
minimal [ci] release (#6279) 2023-02-17 13:44:15 -05:00
non-html-pages [ci] release (#6279) 2023-02-17 13:44:15 -05:00
portfolio [ci] release (#6279) 2023-02-17 13:44:15 -05:00
ssr [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-markdown-plugins [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-markdown-shiki [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-mdx [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-nanostores [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-tailwindcss [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-vite-plugin-pwa [ci] release (#6279) 2023-02-17 13:44:15 -05:00
with-vitest [ci] release (#6279) 2023-02-17 13:44:15 -05:00
README.md .md only: npm init astro --> npm create astro (#4760) 2022-09-16 12:40:06 -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 create astro@latest -- --template [EXAMPLE_NAME]

Community Examples

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

npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]

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

npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example