mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
f058e33abb
* 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> |
||
---|---|---|
.. | ||
basics | ||
blog | ||
component | ||
container-with-vitest | ||
framework-alpine | ||
framework-lit | ||
framework-multiple | ||
framework-preact | ||
framework-react | ||
framework-solid | ||
framework-svelte | ||
framework-vue | ||
hackernews | ||
integration | ||
middleware | ||
minimal | ||
non-html-pages | ||
portfolio | ||
server-islands | ||
ssr | ||
starlog | ||
toolbar-app | ||
view-transitions | ||
with-markdoc | ||
with-markdown-plugins | ||
with-markdown-shiki | ||
with-mdx | ||
with-nanostores | ||
with-tailwindcss | ||
with-vitest | ||
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