From f8d070710f903c511e480c3ab4e517680f6dd934 Mon Sep 17 00:00:00 2001 From: chark1es Date: Fri, 15 Mar 2024 20:58:10 -0700 Subject: [PATCH] incorporate frameworks into astro --- astro.config.mjs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 6ce5f31..b8dac79 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,7 +1,18 @@ import { defineConfig } from "astro/config"; import tailwind from "@astrojs/tailwind"; +import preact from "@astrojs/preact"; + +import react from "@astrojs/react"; // https://astro.build/config export default defineConfig({ - integrations: [tailwind()], + integrations: [ + tailwind(), + preact({ + include: ["**/preact/*"], + }), + react({ + include: ["**/react/*"], + }), + ], });