diff options
Diffstat (limited to 'examples/framework-react/astro.config.mjs')
-rw-r--r-- | examples/framework-react/astro.config.mjs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/framework-react/astro.config.mjs b/examples/framework-react/astro.config.mjs new file mode 100644 index 000000000..36ed34a5e --- /dev/null +++ b/examples/framework-react/astro.config.mjs @@ -0,0 +1,9 @@ +// @ts-check +import { defineConfig } from 'astro/config'; +import react from '@astrojs/react'; + +// https://astro.build/config +export default defineConfig({ + // Enable React to support React JSX components. + integrations: [react()], +}); |