astro/examples
Matthew Phillips 5e52814d97
Adapters v0 (#2855)
* Adapter v0

* Finalizing adapters

* Update the lockfile

* Add the default adapter after config setup is called

* Create the default adapter in config:done

* Fix lint error

* Remove unused callConfigSetup

* remove unused export

* Use a test adapter to test SSR

* Adds a changeset

* Updated based on feedback

* Updated the lockfile

* Only throw if set to a different adapter

* Clean up outdated comments

* Move the adapter to an  config option

* Make adapter optional

* Update the docs/changeset to reflect config API change

* Clarify regular Node usage
2022-03-24 07:26:25 -04:00
..
blog [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
blog-multiple-authors [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
component [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
docs [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
env-vars [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-alpine [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-lit [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-multiple [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-preact [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-react [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-solid [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-svelte [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
framework-vue [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
integrations-playground [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
minimal [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
non-html-pages [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
portfolio [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
ssr Adapters v0 (#2855) 2022-03-24 07:26:25 -04:00
starter [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
subpath [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
with-markdown [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
with-markdown-plugins [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
with-markdown-shiki [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
with-nanostores [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
with-tailwindcss [ci] release (next) (#2851) 2022-03-21 20:27:46 -07:00
with-vite-plugin-pwa [ci] release (next) (#2851) 2022-03-21 20:27:46 -07: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