diff options
Diffstat (limited to 'examples/framework-react/astro.config.mjs')
-rw-r--r-- | examples/framework-react/astro.config.mjs | 5 |
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()], }); |