0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples
Emanuele Stoppa d6edc75408
Adapter enhancements (#9661)
* quality of life updates for `App` (#9579)

* feat(app): writeResponse for node-based adapters

* add changeset

* Apply suggestions from code review

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Apply suggestions from code review

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* add examples for NodeApp static methods

* unexpose createOutgoingHttpHeaders from public api

* move headers test to core

* clientAddress test

* cookies test

* destructure renderOptions right at the start

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Fallback node standalone to localhost (#9545)

* Fallback node standalone to localhost

* Update .changeset/tame-squids-film.md

* quality of life updates for the node adapter (#9582)

* descriptive names for files and functions

* update tests

* add changeset

* appease linter

* Apply suggestions from code review

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* `server-entrypoint.js` -> `server.js`

* prevent crash on stream error (from PR 9533)

* Apply suggestions from code review

Co-authored-by: Luiz Ferraz <luiz@lferraz.com>

* `127.0.0.1` -> `localhost`

* add changeset for fryuni's fix

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* chore(vercel): delete request response conversion logic (#9583)

* refactor

* add changeset

* bump peer dependencies

* unexpose symbols (#9683)

* Update .changeset/tame-squids-film.md

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

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:10:43 +00:00
..
basics [ci] release (#9669) 2024-01-16 11:45:09 +00:00
blog [ci] release (#9669) 2024-01-16 11:45:09 +00:00
component [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-alpine [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-lit [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-multiple [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-preact [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-react [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-solid [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-svelte [ci] release (#9669) 2024-01-16 11:45:09 +00:00
framework-vue [ci] release (#9669) 2024-01-16 11:45:09 +00:00
hackernews [ci] release (#9669) 2024-01-16 11:45:09 +00:00
integration [ci] release (#9669) 2024-01-16 11:45:09 +00:00
middleware [ci] release (#9669) 2024-01-16 11:45:09 +00:00
minimal [ci] release (#9669) 2024-01-16 11:45:09 +00:00
non-html-pages [ci] release (#9669) 2024-01-16 11:45:09 +00:00
portfolio [ci] release (#9669) 2024-01-16 11:45:09 +00:00
ssr Adapter enhancements (#9661) 2024-01-17 13:10:43 +00:00
starlog [ci] release (#9669) 2024-01-16 11:45:09 +00:00
view-transitions [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-markdoc [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-markdown-plugins [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-markdown-shiki [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-mdx [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-nanostores [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-tailwindcss [ci] release (#9669) 2024-01-16 11:45:09 +00:00
with-vitest [ci] release (#9669) 2024-01-16 11:45:09 +00:00
README.md Fix: lang unspecified code blocks (#8461) 2023-09-11 12:45:21 +01: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