astro/examples
Fred K. Schott 3a4dc9e0a7
React 18 monorepo upgrade (#2948)
* First pass at supporting React 18 in @astrojs/react

* Try marking React 18’s `react-dom/client` as external

* Try a different approach to importing different React versions

* Allow resolving JSON modules

* Revert "Allow resolving JSON modules"

This reverts commit 5279b7249c.

* Try the separate client entrypoint approach from #2946

* Clean up diff

* Trying to see something

* Just keep swimming… 🐠

* update to support react 18

* update React to React 18 across the board

Co-authored-by: delucis <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:01:05 -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 Deno adapter (#2934) 2022-03-30 08:42:19 -04:00
starter chore(.gitignore): remove pnpm error logs from git (#2938) 2022-03-30 10:41:53 -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