0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples
Juan Martín Seery d10c3dea21
fix: --experimental-ssr fixes (#2937)
* Replaced `--experimental-ssr` with `isBuildingToSSR`

* changest

* Improved `isBuildingToSSR` a bit

* Added `isBuildingToSSR` to more places!!1!

* Added `@deprecated` tag

* Replaced missing experimentalSsr

* Added failing test

* Removed test

* Re-added experimental ssr flag

* Fixed typo

Co-authored-by: Matthew Phillips <matthew@skypack.dev>

* Fixed deno tests

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:58:03 -04:00
..
blog chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
blog-multiple-authors chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
component chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
docs React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
env-vars chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
framework-alpine chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
framework-lit chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
framework-multiple React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
framework-preact chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
framework-react React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
framework-solid chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
framework-svelte chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
framework-vue chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
integrations-playground React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
minimal chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
non-html-pages chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
portfolio chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
ssr fix: --experimental-ssr fixes (#2937) 2022-03-31 13:58:03 -04:00
starter Fix the favicon for the starter example (#2940) 2022-03-31 12:13:18 -05:00
subpath React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
with-markdown React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
with-markdown-plugins chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
with-markdown-shiki chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
with-nanostores React 18 monorepo upgrade (#2948) 2022-03-31 13:01:05 -04:00
with-tailwindcss chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -05:00
with-vite-plugin-pwa chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -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