aboutsummaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/astro.config.mjs3
-rw-r--r--examples/blog/package.json2
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/blog/astro.config.mjs b/examples/blog/astro.config.mjs
index f682daa06..e8f14324a 100644
--- a/examples/blog/astro.config.mjs
+++ b/examples/blog/astro.config.mjs
@@ -1,8 +1,9 @@
import { defineConfig } from 'astro/config';
+import preact from '@astrojs/preact';
// https://astro.build/config
export default defineConfig({
- renderers: ['@astrojs/renderer-preact'],
+ integrations: [preact()],
buildOptions: {
site: 'https://example.com/',
},
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 13b11a14c..4e0efd07d 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"astro": "^0.24.3",
- "@astrojs/renderer-preact": "^0.5.0"
+ "@astrojs/preact": "^0.0.1"
}
}