summaryrefslogtreecommitdiff
path: root/examples/framework-react/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-react/astro.config.mjs')
-rw-r--r--examples/framework-react/astro.config.mjs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/framework-react/astro.config.mjs b/examples/framework-react/astro.config.mjs
index b35ad27e9..4b5a68ec0 100644
--- a/examples/framework-react/astro.config.mjs
+++ b/examples/framework-react/astro.config.mjs
@@ -1,7 +1,8 @@
import { defineConfig } from 'astro/config';
+import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
- // Enable the React renderer to support React JSX components.
- renderers: ['@astrojs/renderer-react'],
+ // Enable React to support React JSX components.
+ integrations: [react()],
});
gravatar.com/avatar/08ecf36c18a9cde65df00e27a15518c2?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Fred K. Bot 12-22/+23 2022-06-30Added Cloudflare adapter to README.md (#3773)Gravatar Isaac McFadyen 1-0/+1 2022-06-30[ci] formatGravatar hippotastic 1-5/+4 2022-06-30Fix "Invalid hook call" warning (#3769)Gravatar hippotastic 2-9/+79 2022-06-29[ci] release (#3759)astro@1.0.0-beta.59@astrojs/telemetry@0.2.2@astrojs/preact@0.3.0Gravatar Fred K. Bot 42-121/+117 2022-06-29[ci] formatGravatar FredKSchott 8-35/+36 2022-06-29manual lockfile update (#3751)Gravatar Fred K. Schott 3-2659/+2871 2022-06-29add error event to telemetry (#3750)Gravatar Fred K. Schott 16-85/+270