summaryrefslogtreecommitdiff
path: root/examples/with-nanostores
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-nanostores')
-rw-r--r--examples/with-nanostores/astro.config.mjs9
-rw-r--r--examples/with-nanostores/package.json10
2 files changed, 12 insertions, 7 deletions
diff --git a/examples/with-nanostores/astro.config.mjs b/examples/with-nanostores/astro.config.mjs
index 90f8b2ca4..4b50887cd 100644
--- a/examples/with-nanostores/astro.config.mjs
+++ b/examples/with-nanostores/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/with-nanostores/package.json b/examples/with-nanostores/package.json
index 85b7a4d2a..c41c8b315 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -20,11 +20,11 @@
"vue": "^3.2.31"
},
"devDependencies": {
- "@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/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"
}
}