incorporate frameworks into astro
This commit is contained in:
parent
02d684f635
commit
f8d070710f
1 changed files with 12 additions and 1 deletions
|
@ -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/*"],
|
||||||
|
}),
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue