diff options
Diffstat (limited to 'examples/docs/astro.config.mjs')
-rw-r--r-- | examples/docs/astro.config.mjs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/docs/astro.config.mjs b/examples/docs/astro.config.mjs index 9f97b3a89..7ae8d6f7b 100644 --- a/examples/docs/astro.config.mjs +++ b/examples/docs/astro.config.mjs @@ -1,11 +1,13 @@ import { defineConfig } from 'astro/config'; +import preact from '@astrojs/preact'; +import react from '@astrojs/react'; // https://astro.build/config export default defineConfig({ - renderers: [ - // Enable the Preact renderer to support Preact JSX components. - '@astrojs/renderer-preact', - // Enable the React renderer, for the Algolia search component - '@astrojs/renderer-react', + integrations: [ + // Enable Preact to support Preact JSX components. + preact(), + // Enable React for the Algolia search component. + react(), ], }); |