astro/examples/framework-multiple
Matthew Phillips 519a1c4e84
JSX refactor (#7924)
* JSX refactor

* Get preact/compat test to pass

* Use include config

* Remove old astro flavored markdown test

* Move babel dep to preact

* Remove errant debugger

* Update lockfile

* Update the multi-framework example

* Update e2e tests

* Fix nested-in-vue tests

* Add back in astro check

* Update packages/astro/src/core/create-vite.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update packages/astro/src/core/create-vite.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update packages/integrations/solid/src/index.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update packages/integrations/solid/src/index.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/perfect-horses-tell.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Move the comment about the include config

* Remove redundant alias config

* Use react's own preamble code

* Use the base for the preamble

* Remove solid redundancy

* Update .changeset/perfect-horses-tell.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update based on review comments

* Oops

---------

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11 10:05:02 -04:00
..
.vscode Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
public chore: update example favicons (#6487) 2023-03-09 11:23:47 -06:00
src JSX refactor (#7924) 2023-08-11 10:05:02 -04:00
.gitignore Add .astro/ to .gitignore in example projects (#5841) 2023-01-12 11:26:13 -05:00
astro.config.mjs JSX refactor (#7924) 2023-08-11 10:05:02 -04:00
package.json [ci] release (beta) (#7897) 2023-08-08 11:04:14 +01:00
README.md Update react links (#6756) 2023-04-06 22:42:24 +08:00
sandbox.config.json feat: change default port to 4321 (#7874) 2023-08-08 11:02:51 +01:00
tsconfig.json Add template tsconfigs for users to extend from (#4439) 2022-08-25 15:15:27 -04:00

Kitchen Sink: Microfrontends with Astro

npm create astro@latest -- --template framework-multiple

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

This example showcases Astro's built-in support for multiple frameworks (React, Preact, Svelte, and Vue (v3.x)).

No configuration is needed to enable these frameworks—just start writing components in src/components.