astro/examples
Ben Holmes 7d72aeeae8
Migrate blog and docs starters to content collections (#5858)
* 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>
2023-01-18 08:43:58 -05:00
..
basics [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
blog Migrate blog and docs starters to content collections (#5858) 2023-01-18 08:43:58 -05:00
component [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
deno [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
docs Migrate blog and docs starters to content collections (#5858) 2023-01-18 08:43:58 -05:00
framework-alpine [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-lit [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-multiple [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-preact [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-react [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-solid [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-svelte [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
framework-vue [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
hackernews [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
integration [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
minimal [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
non-html-pages [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
portfolio Implement redesign of portfolio example (#5765) 2023-01-13 08:59:00 +01:00
ssr [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-markdown-plugins [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-markdown-shiki [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-mdx [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-nanostores [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-tailwindcss [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-vite-plugin-pwa [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
with-vitest [ci] release (beta) (#5792) 2023-01-12 11:40:35 -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