mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
f591150512
* basics, framework-alpine, framework-solid, delete unused examples * framework-multiple * Remove non-standard file extensions, add missing .vscode folders * Remove robots.txt * Remove blog-multiple-authors * Rewrite components comments to be consistent * Update lockfile * Remove unnecessary usage of SCSS in subpath example * Fix props weirdness in portfolio example * Remove Lit from `framework-multiple` for now * Misc fixes * Update lockfile * I'm in lockfile hell, send help
21 lines
598 B
Markdown
21 lines
598 B
Markdown
# 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](https://github.com/one-aalam/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
|
|
```
|