0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples
Nate Moore 2b76ee8d75
Export defineConfig helper (#2803)
* feat: add astro/config entrypoint

* chore: update examples to use `defineConfig` util

* chore: prettier fix

* chore: add changeset
2022-03-15 15:27:17 -05:00
..
blog Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
blog-multiple-authors Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
component Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
docs Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
env-vars Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-alpine Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-lit Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-multiple Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-preact Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-react Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-solid Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-svelte Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
framework-vue Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
minimal Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
non-html-pages Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
portfolio Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
ssr Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
starter Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
subpath Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
with-markdown Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
with-markdown-plugins Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
with-markdown-shiki Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
with-nanostores Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
with-tailwindcss Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
with-vite-plugin-pwa Export defineConfig helper (#2803) 2022-03-15 15:27:17 -05:00
README.md Docs: npm@7 requires an extra -- for arguments passed to the command, per @natemoo-re's description. (#786) 2021-07-20 20:06:11 -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 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