astro/examples
Tony Sullivan 4e2bd17393
Adds a Hackernews example site (#5213)
* adds the hackernews example - TODO add readme content

* refactor: moving styles from root.css into components

* chore: add README content

* chore: lint fixes + prettier-plugin-astro@0.4.0

* Update examples/hackernews/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* lint: remove unused variable

* nit: adding check command to example

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-01 16:20:04 +00:00
..
basics [ci] release (#5239) 2022-10-31 10:21:09 -04:00
blog [ci] release (#5239) 2022-10-31 10:21:09 -04:00
component [ci] release (#5239) 2022-10-31 10:21:09 -04:00
deno [ci] release (#5239) 2022-10-31 10:21:09 -04:00
docs [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-alpine [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-lit [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-multiple [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-preact [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-react [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-solid [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-svelte [ci] release (#5239) 2022-10-31 10:21:09 -04:00
framework-vue [ci] release (#5239) 2022-10-31 10:21:09 -04:00
hackernews Adds a Hackernews example site (#5213) 2022-11-01 16:20:04 +00:00
integration [ci] release (#5239) 2022-10-31 10:21:09 -04:00
minimal [ci] release (#5239) 2022-10-31 10:21:09 -04:00
non-html-pages [ci] release (#5239) 2022-10-31 10:21:09 -04:00
portfolio [ci] release (#5239) 2022-10-31 10:21:09 -04:00
ssr [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-markdown-plugins [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-markdown-shiki [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-mdx [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-nanostores [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-tailwindcss [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-vite-plugin-pwa [ci] release (#5239) 2022-10-31 10:21:09 -04:00
with-vitest [ci] release (#5239) 2022-10-31 10:21:09 -04: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