Skip to content

Commit e34165d

Browse files
committed
Addressed MIME type error
1 parent dc8ceaf commit e34165d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/layouts/Layout.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
import '../styles/global.css';
3+
24
export interface Props {
35
title: string;
46
description?: string;
@@ -74,9 +76,6 @@ const imageURL = new URL(image, Astro.site);
7476
]
7577
}
7678
</script>
77-
78-
<!-- Import Tailwind CSS -->
79-
<link rel="stylesheet" href="/src/styles/global.css" />
8079
</head>
8180
<body class="bg-gray-50 text-gray-900 antialiased">
8281
<slot />

src/styles/global.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
@import "tailwindcss/base";
2-
@import "tailwindcss/components";
3-
@import "tailwindcss/utilities";
1+
@import "tailwindcss";
42

53
/* CSS Custom Properties for theming */
64
:root {

0 commit comments

Comments
 (0)