mirror of
https://github.com/withastro/astro.git
synced 2025-09-28 00:24:24 +08:00

* chore: update `astro` to `1.0.0-rc.0` * chore: update `astro` version in examples Co-authored-by: Nate Moore <nate@astro.build>
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