astro/examples
Matthew Phillips ae5255dd25
Implement hydrated components in the static build (#2260)
* Work on removing vite-postprocess

* Gets hydration totally working

* Formatting

* Update based on PR comments

* Bring back vite transform for non-static builds

* Upgrade compiler version

* Update the client-only test

* Add debugging for windows

* More debugging

* Pass pathname into the markdown plugin as well

* Include vite changes

* Revert "Include vite changes"

This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-30 09:01:00 -05:00
..
blog Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
blog-multiple-authors Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
component [ci] release (#2264) 2021-12-23 15:34:11 -05:00
docs [ci] release (#2264) 2021-12-23 15:34:11 -05:00
fast-build Implement hydrated components in the static build (#2260) 2021-12-30 09:01:00 -05:00
framework-alpine Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
framework-lit Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
framework-multiple Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
framework-preact Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
framework-react Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
framework-solid [ci] release (#2264) 2021-12-23 15:34:11 -05:00
framework-svelte Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
framework-vue Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
minimal [ci] release (#2264) 2021-12-23 15:34:11 -05:00
portfolio Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
portfolio-svelte Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
starter Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
subpath [ci] release (#2264) 2021-12-23 15:34:11 -05:00
with-markdown Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
with-markdown-plugins Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
with-nanostores Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
with-tailwindcss Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
with-vite-plugin-pwa [ci] release (#2264) 2021-12-23 15:34:11 -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