mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
16a3fdf931
* wip: support true react vnodes in renderer * Add new experimentalReactChildren option to React integration * Update the test * Add docs * Update packages/integrations/react/server.js Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update with a better test * Update .changeset/yellow-snakes-jam.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/react/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/react/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
10 lines
250 B
JavaScript
10 lines
250 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import react from '@astrojs/react';
|
|
import vue from '@astrojs/vue';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [react({
|
|
experimentalReactChildren: true,
|
|
}), vue()],
|
|
});
|