astro/examples
Matthew Phillips 9aff6eee71
Flagged static (performance optimized) build (#2168)
* Progress on build demo

* Go back to ESM

* Some more progress on the new build

* More progress here

* Add support for hot reload

* Almost done

* Remove debugging stuff

* chore(lint): Prettier fix

* Pass through the origin

* Do not use ssr mode

* Use the logger

* chore(lint): Prettier fix

* Update yarn lock

* Fix types

* Only build chunks that are astro pages

* Debugging windows

* Prevent compilation race condition

* Read the file if not found in the cache

* Give a better error message when we can't find a page

* chore(lint): Prettier fix

* Fix windows maybe

* chore(lint): Prettier fix

* Some more windows debugging

* chore(lint): Prettier fix

* Remove console logs

* More debugging

* chore(lint): Prettier fix

* More debugging info

* chore(lint): Prettier fix

* Remove logging again

* Try to prevent port conflicts

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-21 11:57:50 -05:00
..
blog chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
blog-multiple-authors chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
component Add Component Example (#2203) 2021-12-17 08:47:59 -05:00
docs chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
fast-build Flagged static (performance optimized) build (#2168) 2021-12-21 11:57:50 -05:00
framework-lit chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
framework-multiple chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
framework-preact chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
framework-react chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
framework-solid chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
framework-svelte chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
framework-vue chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
minimal chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
portfolio chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
portfolio-svelte chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
starter chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
subpath chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
with-markdown chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
with-markdown-plugins chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
with-nanostores chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
with-tailwindcss chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
with-vite-plugin-pwa chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06: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