0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00
astro/examples
Matthew Phillips f058e33abb Server islands (#11305)
* Spike

* Server Islands

* Remove extra stuff

* Fix build, a little

* Fix build

* astro metadata can be undefined

* Add server:defer type

* Add support for the build to Server Islands (#11372)

* Add support for the build to Server Islands

* Use command instead

* editor tips

* Add comment about defaultRoutes

* Use renderChunk instead of generateBundle

* Server islands tests (#11405)

* Add support for the build to Server Islands

* Use command instead

* editor tips

* Add comment about defaultRoutes

* Use renderChunk instead of generateBundle

* Adds tests for server islands

* linting

* Pass slots to server islands (#11431)

* Require the experimental flag to use server islands (#11432)

* Require the experimental flag to use server islands

* Add flag to tests/examples

* Protect SSR against SI not being enabled

* Update the docs in the API ref

* Upgrade to compiler 2.9.0

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

* Fix lockfile

* Add a changeset

* Update .changeset/five-rocks-vanish.md

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

* Update .changeset/five-rocks-vanish.md

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

* Update .changeset/five-rocks-vanish.md

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

* Update .changeset/five-rocks-vanish.md

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

* Update lockfile

* Update .changeset/five-rocks-vanish.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-07-18 09:29:02 +01:00
..
basics [ci] release (#11442) 2024-07-18 09:29:02 +01:00
blog [ci] release (#11442) 2024-07-18 09:29:02 +01:00
component [ci] release (#11442) 2024-07-18 09:29:02 +01:00
container-with-vitest [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-alpine [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-lit [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-multiple [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-preact [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-react [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-solid [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-svelte [ci] release (#11442) 2024-07-18 09:29:02 +01:00
framework-vue [ci] release (#11442) 2024-07-18 09:29:02 +01:00
hackernews [ci] release (#11442) 2024-07-18 09:29:02 +01:00
integration [ci] release (#11442) 2024-07-18 09:29:02 +01:00
middleware [ci] release (#11442) 2024-07-18 09:29:02 +01:00
minimal [ci] release (#11442) 2024-07-18 09:29:02 +01:00
non-html-pages [ci] release (#11442) 2024-07-18 09:29:02 +01:00
portfolio [ci] release (#11442) 2024-07-18 09:29:02 +01:00
server-islands Server islands (#11305) 2024-07-18 09:29:02 +01:00
ssr [ci] release (#11442) 2024-07-18 09:29:02 +01:00
starlog [ci] release (#11442) 2024-07-18 09:29:02 +01:00
toolbar-app [ci] release (#11442) 2024-07-18 09:29:02 +01:00
view-transitions [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-markdoc [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-markdown-plugins [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-markdown-shiki [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-mdx [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-nanostores [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-tailwindcss [ci] release (#11442) 2024-07-18 09:29:02 +01:00
with-vitest [ci] release (#11442) 2024-07-18 09:29:02 +01: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