0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00
astro/examples
Emanuele Stoppa 12a1bccc81
feat: container APIs (#11051)
* feat: container APIs

* chore: handle runtime mode

* chore: render slots

* more prototyping

* Adding a changeset

* fix some weirdness around types

* feat: allow to inject the manifest

* feat: accept a manifest

* more APIs

* add `route` to the options

* chore

* fix component instance

* chore: document stuff

* remove commented code

* chore: add test for renderers and fixed its types

* fix: update name of the example

* fix regression inside tests

* use `experimental_`

* remove errors

* need to understand the types here

* remove some options that I don't deem necessary for this phase

* remove superfluous comments

* chore: remove useless `@ts-ignore` directive

* chore: address feedback

* fix regression and remove astro config

* chore: fix regression

* Apply suggestions from code review

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

* ooops

* restore changes

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-22 12:11:26 +01:00
..
basics [ci] release (#11086) 2024-05-22 09:40:11 +02:00
blog [ci] release (#11086) 2024-05-22 09:40:11 +02:00
component [ci] release (#11086) 2024-05-22 09:40:11 +02:00
container-with-vitest feat: container APIs (#11051) 2024-05-22 12:11:26 +01:00
framework-alpine [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-lit [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-multiple [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-preact [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-react [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-solid [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-svelte [ci] release (#11086) 2024-05-22 09:40:11 +02:00
framework-vue [ci] release (#11086) 2024-05-22 09:40:11 +02:00
hackernews [ci] release (#11086) 2024-05-22 09:40:11 +02:00
integration [ci] release (#11086) 2024-05-22 09:40:11 +02:00
middleware [ci] release (#11086) 2024-05-22 09:40:11 +02:00
minimal [ci] release (#11086) 2024-05-22 09:40:11 +02:00
non-html-pages [ci] release (#11086) 2024-05-22 09:40:11 +02:00
portfolio [ci] release (#11086) 2024-05-22 09:40:11 +02:00
ssr [ci] release (#11086) 2024-05-22 09:40:11 +02:00
starlog [ci] release (#11086) 2024-05-22 09:40:11 +02:00
toolbar-app [ci] release (#11086) 2024-05-22 09:40:11 +02:00
view-transitions [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-markdoc [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-markdown-plugins [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-markdown-shiki [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-mdx [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-nanostores [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-tailwindcss [ci] release (#11086) 2024-05-22 09:40:11 +02:00
with-vitest [ci] release (#11086) 2024-05-22 09:40:11 +02: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