mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
7d72aeeae8
* docs: update README for `content/` * chore: update env * feat: update blog to use content collections * chore: remove with-content starter * fix: single quotes -> double * feat: update docs starter to content collections * refactor: config -> consts * chore: import type * edit: Astro will -> Use Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: remove unused null check * nit: spacing * nit: `as Props` 1 Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * nit: `as Props` 2 Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * chore: consistent CONSTS usage * chore: `type` imports at top * chore: consistent quote usage on YAML * chore: remove `as Props` from docs Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> |
||
---|---|---|
.. | ||
basics | ||
blog | ||
component | ||
deno | ||
docs | ||
framework-alpine | ||
framework-lit | ||
framework-multiple | ||
framework-preact | ||
framework-react | ||
framework-solid | ||
framework-svelte | ||
framework-vue | ||
hackernews | ||
integration | ||
minimal | ||
non-html-pages | ||
portfolio | ||
ssr | ||
with-markdown-plugins | ||
with-markdown-shiki | ||
with-mdx | ||
with-nanostores | ||
with-tailwindcss | ||
with-vite-plugin-pwa | ||
with-vitest | ||
README.md |
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