astro/examples
Matthew Phillips 519a1c4e84
JSX refactor (#7924)
* JSX refactor

* Get preact/compat test to pass

* Use include config

* Remove old astro flavored markdown test

* Move babel dep to preact

* Remove errant debugger

* Update lockfile

* Update the multi-framework example

* Update e2e tests

* Fix nested-in-vue tests

* Add back in astro check

* Update packages/astro/src/core/create-vite.ts

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

* Update packages/astro/src/core/create-vite.ts

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

* Update packages/integrations/solid/src/index.ts

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

* Update packages/integrations/solid/src/index.ts

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

* Update .changeset/perfect-horses-tell.md

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

* Move the comment about the include config

* Remove redundant alias config

* Use react's own preamble code

* Use the base for the preamble

* Remove solid redundancy

* Update .changeset/perfect-horses-tell.md

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

* Update based on review comments

* Oops

---------

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11 10:05:02 -04:00
..
basics Merge remote-tracking branch 'origin/main' into next 2023-08-10 11:49:52 +01:00
blog Merge remote-tracking branch 'origin/main' into next 2023-08-10 11:49:52 +01:00
component [ci] release (#8000) 2023-08-09 15:31:34 -05:00
deno [ci] release (#8000) 2023-08-09 15:31:34 -05:00
framework-alpine [ci] release (#8000) 2023-08-09 15:31:34 -05:00
framework-lit [ci] release (#8000) 2023-08-09 15:31:34 -05:00
framework-multiple JSX refactor (#7924) 2023-08-11 10:05:02 -04:00
framework-preact [ci] release (#8000) 2023-08-09 15:31:34 -05:00
framework-react [ci] release (beta) (#7897) 2023-08-08 11:04:14 +01:00
framework-solid [ci] release (#8000) 2023-08-09 15:31:34 -05:00
framework-svelte [ci] release (#8000) 2023-08-09 15:31:34 -05:00
framework-vue [ci] release (beta) (#7897) 2023-08-08 11:04:14 +01:00
hackernews [ci] release (#8000) 2023-08-09 15:31:34 -05:00
integration [ci] release (#8000) 2023-08-09 15:31:34 -05:00
middleware [ci] release (#8000) 2023-08-09 15:31:34 -05:00
minimal [ci] release (#8000) 2023-08-09 15:31:34 -05:00
non-html-pages [ci] release (#8000) 2023-08-09 15:31:34 -05:00
portfolio [ci] release (#8000) 2023-08-09 15:31:34 -05:00
ssr [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-markdoc [ci] release (beta) (#7897) 2023-08-08 11:04:14 +01:00
with-markdown-plugins [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-markdown-shiki [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-mdx [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-nanostores [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-tailwindcss [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-vite-plugin-pwa [ci] release (#8000) 2023-08-09 15:31:34 -05:00
with-vitest [ci] release (#8000) 2023-08-09 15:31:34 -05:00
README.md .md only: npm init astro --> npm create astro (#4760) 2022-09-16 12:40:06 -05: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