aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/astro.config.mjs')
-rw-r--r--examples/docs/astro.config.mjs8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/docs/astro.config.mjs b/examples/docs/astro.config.mjs
index 68499b3fa..120106f3e 100644
--- a/examples/docs/astro.config.mjs
+++ b/examples/docs/astro.config.mjs
@@ -8,6 +8,10 @@
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
- // Enable the Preact renderer to support Preact JSX components.
- renderers: ['@astrojs/renderer-preact'],
+ 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',
+ ],
});