0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples
Erika 7b4f284020
feat(toolbar): Toolbar API improvements (#10665)
* feat(toolbar): Add a `astro:toolbar` module

* fix: use entrypoint

* feat: add new shape for defining toolbar apps

* fix: types

* feat(toolbar): Add helpers features (#10667)

* feat(toolbar): Add helpers features

* fix: consistent payloads and naming

* chore: changeset

* nit: rename eventTarget to app

* feat: add server-side helpers

* test: update test to use new APIs

* fix: types

* nit: erikaaaaa

* feat: add new event

* Update .changeset/khaki-pianos-burn.md

* test: use data to create text

* Apply suggestions from code review

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* nit: use diff

* nit: documentation effort

* test: fix

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* nit: small changes to helpers

* nit: update changeset

* fix: move to astro/toolbar for building purposes

* feat(toolbar): Add a toolbar example (#10793)

* feat: add a toolbar starter

* test: skip examples that are not Astro projects

* nit: small changes

* feat: setup for build step

* fix: add to devdep

* docs: add commands to README

* fix: reorder classes to make more sense

* fix: add improvements from recipe

* Apply suggestions from code review

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-24 17:56:12 +02:00
..
basics [ci] release (#10842) 2024-04-23 19:30:37 -04:00
blog [ci] release (#10842) 2024-04-23 19:30:37 -04:00
component [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-alpine [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-lit [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-multiple [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-preact [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-react [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-solid [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-svelte [ci] release (#10842) 2024-04-23 19:30:37 -04:00
framework-vue [ci] release (#10842) 2024-04-23 19:30:37 -04:00
hackernews [ci] release (#10842) 2024-04-23 19:30:37 -04:00
integration [ci] release (#10842) 2024-04-23 19:30:37 -04:00
middleware [ci] release (#10842) 2024-04-23 19:30:37 -04:00
minimal [ci] release (#10842) 2024-04-23 19:30:37 -04:00
non-html-pages [ci] release (#10842) 2024-04-23 19:30:37 -04:00
portfolio [ci] release (#10842) 2024-04-23 19:30:37 -04:00
ssr [ci] release (#10842) 2024-04-23 19:30:37 -04:00
starlog Update sharp to 0.33 to fix issue with Alpine Linux (#10684) 2024-04-24 10:20:07 -04:00
toolbar-app feat(toolbar): Toolbar API improvements (#10665) 2024-04-24 17:56:12 +02:00
view-transitions [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-markdoc [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-markdown-plugins [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-markdown-shiki [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-mdx [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-nanostores [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-tailwindcss [ci] release (#10842) 2024-04-23 19:30:37 -04:00
with-vitest [ci] release (#10842) 2024-04-23 19:30:37 -04: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