summaryrefslogtreecommitdiff
path: root/examples/doc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/doc')
-rw-r--r--examples/doc/astro.config.mjs6
-rw-r--r--examples/doc/src/pages/index.astro2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/doc/astro.config.mjs b/examples/doc/astro.config.mjs
index 9ba6c58c9..d97e2804d 100644
--- a/examples/doc/astro.config.mjs
+++ b/examples/doc/astro.config.mjs
@@ -1,5 +1,5 @@
export default {
- extensions: {
- '.tsx': 'preact'
- }
+ renderers: [
+ '@astrojs/renderer-preact'
+ ]
};
diff --git a/examples/doc/src/pages/index.astro b/examples/doc/src/pages/index.astro
index fe00e15a8..75ca0da4f 100644
--- a/examples/doc/src/pages/index.astro
+++ b/examples/doc/src/pages/index.astro
@@ -1,5 +1,5 @@
---
-import Markdown from 'astro/components/Markdown.astro';
+import { Markdown } from 'astro/components';
import Layout from '../layouts/Main.astro';
---