diff options
Diffstat (limited to 'examples/framework-multiple/astro.config.mjs')
-rw-r--r-- | examples/framework-multiple/astro.config.mjs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/framework-multiple/astro.config.mjs b/examples/framework-multiple/astro.config.mjs new file mode 100644 index 000000000..7609d3fc6 --- /dev/null +++ b/examples/framework-multiple/astro.config.mjs @@ -0,0 +1,19 @@ +// @ts-check +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 frameworks to support all different kinds of components. + integrations: [ + preact({ include: ['**/preact/*'] }), + solid({ include: ['**/solid/*'] }), + react({ include: ['**/react/*'] }), + svelte(), + vue(), + ], +}); |