astro/examples
2022-08-05 21:36:23 -07:00
..
basics update example scripts (#4098) 2022-08-05 21:36:23 -07:00
blog update example scripts (#4098) 2022-08-05 21:36:23 -07:00
component update example scripts (#4098) 2022-08-05 21:36:23 -07:00
docs update example scripts (#4098) 2022-08-05 21:36:23 -07:00
env-vars update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-alpine update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-lit update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-multiple update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-preact update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-react update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-solid update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-svelte update example scripts (#4098) 2022-08-05 21:36:23 -07:00
framework-vue update example scripts (#4098) 2022-08-05 21:36:23 -07:00
minimal update example scripts (#4098) 2022-08-05 21:36:23 -07:00
non-html-pages update example scripts (#4098) 2022-08-05 21:36:23 -07:00
portfolio update example scripts (#4098) 2022-08-05 21:36:23 -07:00
ssr update example scripts (#4098) 2022-08-05 21:36:23 -07:00
subpath update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-markdown-plugins update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-markdown-shiki update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-mdx update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-nanostores update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-tailwindcss update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-vite-plugin-pwa update example scripts (#4098) 2022-08-05 21:36:23 -07:00
with-vitest update example scripts (#4098) 2022-08-05 21:36:23 -07:00
README.md Audit examples templates (#3940) 2022-08-04 14:16:51 -04: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