astro/examples
Nate Moore 8cfb3fb535
Migrate examples to type: module (#4662)
* chore: move examples to type module

* chore: prefer astro.config.mjs to astro.config.js

* chore: reference CJS config file

Co-authored-by: Nate Moore <nate@astro.build>
2022-09-13 14:02:57 -05:00
..
basics Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
blog Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
component Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
docs Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-alpine Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-lit Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-multiple Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-preact Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-react Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-solid Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-svelte Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
framework-vue Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
minimal Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
non-html-pages Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
portfolio Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
ssr Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-markdown-plugins Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-markdown-shiki Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-mdx Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-nanostores Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-tailwindcss Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-vite-plugin-pwa Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
with-vitest Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05: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