astro/examples
Erika c9b679e56e
Move types to a .d.ts file inside examples projects (#4171)
* Move types to a .d.ts file to avoid making types explicit

* Rename to proper types

* Move to proper place

* Add noEmit to tsconfig.json

* Add back removed code by accident
2022-08-05 17:46:52 -04:00
..
basics Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
blog Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
component Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
docs Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
env-vars Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-alpine Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-lit Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-multiple Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-preact Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-react Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-solid Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-svelte Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
framework-vue Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
minimal Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
non-html-pages Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
portfolio Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
ssr Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
subpath Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-markdown-plugins Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-markdown-shiki Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-mdx Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-nanostores Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-tailwindcss Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-vite-plugin-pwa Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
with-vitest [ci] format 2022-08-05 19:42:58 +00:00
README.md Audit examples templates (#3940) 2022-08-04 14:16:51 -04: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 init astro -- --template [EXAMPLE_NAME]

Community Examples

Visit awesome-astro for a full list of community examples. You can use npm init astro to check out any community examples:

npm init astro -- --template [GITHUB_USER]/[REPO_NAME]

Paths to examples nested inside of a repo are also supported:

npm init astro -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example