summaryrefslogtreecommitdiff
path: root/examples/framework-multiple
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-03-18 15:35:45 -0700
committerGravatar GitHub <noreply@github.com> 2022-03-18 15:35:45 -0700
commit6386c14d00d1d820804f0ee5b1424e73c049fe83 (patch)
tree3015e834e1d84100fd0871f6a55479bed61c0c14 /examples/framework-multiple
parent0f376a7c52d3a22ff32b33e0afc34dd306ed70c4 (diff)
downloadastro-6386c14d00d1d820804f0ee5b1424e73c049fe83.tar.gz
astro-6386c14d00d1d820804f0ee5b1424e73c049fe83.tar.zst
astro-6386c14d00d1d820804f0ee5b1424e73c049fe83.zip
Astro Integration System (#2820)
* update examples * add initial integrations * update tests * update astro * update ci * get final tests working * update injectelement todo * update ben code review * respond to final code review feedback
Diffstat (limited to 'examples/framework-multiple')
-rw-r--r--examples/framework-multiple/astro.config.mjs9
-rw-r--r--examples/framework-multiple/package.json12
2 files changed, 13 insertions, 8 deletions
diff --git a/examples/framework-multiple/astro.config.mjs b/examples/framework-multiple/astro.config.mjs
index 90f8b2ca4..4b50887cd 100644
--- a/examples/framework-multiple/astro.config.mjs
+++ b/examples/framework-multiple/astro.config.mjs
@@ -1,7 +1,12 @@
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';
+import solid from '@astrojs/solid-js';
// https://astro.build/config
export default defineConfig({
- // Enable many renderers to support all different kinds of components.
- renderers: ['@astrojs/renderer-preact', '@astrojs/renderer-react', '@astrojs/renderer-svelte', '@astrojs/renderer-vue', '@astrojs/renderer-solid'],
+ // Enable many frameworks to support all different kinds of components.
+ integrations: [preact(), react(), svelte(), vue(), solid()],
});
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 1b299dba9..e24f45a97 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -9,12 +9,12 @@
"preview": "astro preview"
},
"devDependencies": {
- "@astrojs/renderer-lit": "^0.4.0",
- "@astrojs/renderer-preact": "^0.5.0",
- "@astrojs/renderer-react": "^0.5.0",
- "@astrojs/renderer-solid": "^0.4.0",
- "@astrojs/renderer-svelte": "^0.5.2",
- "@astrojs/renderer-vue": "^0.4.0",
+ "@astrojs/lit": "^0.0.1",
+ "@astrojs/preact": "^0.0.1",
+ "@astrojs/react": "^0.0.1",
+ "@astrojs/solid-js": "^0.0.1",
+ "@astrojs/svelte": "^0.0.1",
+ "@astrojs/vue": "^0.0.1",
"astro": "^0.24.3"
}
}