0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples
Matthew Phillips 6fd161d769
Add the output option (#4015)
* Start of work on astroConfig.mode === 'server'

* Add tests and more

* adapter -> deploy in some places

* Add fallback for `adapter` config

* Update more tests

* Update image tests

* Fix clientAddress test

* Updates based on PR review

* Add a changeset

* Update integrations tests + readme

* Oops

* Remove old option

* Rename `mode` to `output`

* Update Node adapter test

* Update test

* fred pass

* fred pass

* fred pass

* fix test

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-25 00:18:02 -04:00
..
basics Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
blog Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
blog-multiple-authors Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
component Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
docs Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
env-vars Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-alpine Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-lit Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-multiple Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-preact Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-react Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-solid Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-svelte Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
framework-vue Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
integrations-playground Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
minimal Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
non-html-pages Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
portfolio Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
ssr Add the output option (#4015) 2022-07-25 00:18:02 -04:00
starter Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
subpath Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
with-markdown-plugins Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
with-markdown-shiki Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
with-mdx Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
with-nanostores Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
with-tailwindcss Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
with-vite-plugin-pwa Update astro version to 1.0.0-rc.0 (#4030) 2022-07-24 22:32:28 -04:00
README.md

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