diff options
Diffstat (limited to 'examples/with-markdown')
-rw-r--r-- | examples/with-markdown/astro.config.mjs | 7 | ||||
-rw-r--r-- | examples/with-markdown/package.json | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/examples/with-markdown/astro.config.mjs b/examples/with-markdown/astro.config.mjs index f5069ec18..c5dcad073 100644 --- a/examples/with-markdown/astro.config.mjs +++ b/examples/with-markdown/astro.config.mjs @@ -1,6 +1,11 @@ import { defineConfig } from 'astro/config'; +import preact from '@astrojs/preact'; +import react from '@astrojs/react'; +import svelte from '@astrojs/svelte'; +import vue from '@astrojs/vue'; // https://astro.build/config export default defineConfig({ - renderers: ['@astrojs/renderer-preact', '@astrojs/renderer-react', '@astrojs/renderer-svelte', '@astrojs/renderer-vue'], + // Enable many frameworks to support all different kinds of components. + integrations: [preact(), react(), svelte(), vue()], }); diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 4979a80fa..739fa896b 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -10,10 +10,10 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.6.4", - "@astrojs/renderer-preact": "^0.5.0", - "@astrojs/renderer-react": "^0.5.0", - "@astrojs/renderer-svelte": "^0.5.2", - "@astrojs/renderer-vue": "^0.4.0", + "@astrojs/preact": "^0.0.1", + "@astrojs/react": "^0.0.1", + "@astrojs/svelte": "^0.0.1", + "@astrojs/vue": "^0.0.1", "astro": "^0.24.3" } } |