0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples
Emanuele Stoppa e9f0dd9b47
fix(middleware): emit warning if next is called and nothing is returned (#7010)
* fix(middleware): emit warning if `next` is called and nothing is returned

* chore: add test case

* chore: changeset

* chore: restore code, ooops!

* chore: change logic

* change namespace
2023-05-05 13:20:33 -04:00
..
basics Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
blog Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
component Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
deno Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
docs Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-alpine Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-lit Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-multiple Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-preact Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-react Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-solid Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-svelte Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
framework-vue Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
hackernews Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
integration Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
middleware fix(middleware): emit warning if next is called and nothing is returned (#7010) 2023-05-05 13:20:33 -04:00
minimal Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
non-html-pages Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
portfolio Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
ssr Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-markdoc Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-markdown-plugins Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-markdown-shiki Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-mdx Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-nanostores Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-tailwindcss Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-vite-plugin-pwa Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
with-vitest Update template deps to latest (#7002) 2023-05-05 19:09:38 +08:00
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