Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-15 17:48:17 +02:00
parent d8c1f15c91
commit a4ed5449e9
3 changed files with 11 additions and 2 deletions

View File

@ -5,10 +5,11 @@ import compress from "astro-compress";
import critters from "astro-critters"; import critters from "astro-critters";
// https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [ integrations: [
tailwind(), tailwind({
config: { applyBaseStyles: false },
}),
image({ image({
serviceEntryPoint: "@astrojs/image/sharp", serviceEntryPoint: "@astrojs/image/sharp",
}), }),

7
astro/src/global.css Normal file
View File

@ -0,0 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
h1 {
@apply text-4xl;
}

View File

@ -1,4 +1,5 @@
--- ---
import "../global.css";
export interface Props { export interface Props {
title: string; title: string;
} }