incorporate frameworks into astro

This commit is contained in:
chark1es 2024-03-15 20:58:10 -07:00
parent 02d684f635
commit f8d070710f

View file

@ -1,7 +1,18 @@
import { defineConfig } from "astro/config"; import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind"; import tailwind from "@astrojs/tailwind";
import preact from "@astrojs/preact";
import react from "@astrojs/react";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [tailwind()], integrations: [
tailwind(),
preact({
include: ["**/preact/*"],
}),
react({
include: ["**/react/*"],
}),
],
}); });