summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss/src/pages/index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-tailwindcss/src/pages/index.astro')
-rw-r--r--examples/with-tailwindcss/src/pages/index.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro
index 07262b870..74c3b2e62 100644
--- a/examples/with-tailwindcss/src/pages/index.astro
+++ b/examples/with-tailwindcss/src/pages/index.astro
@@ -11,7 +11,9 @@ import Button from '../components/Button.astro';
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Astro + TailwindCSS</title>
- <link rel="stylesheet" type="text/css" href={Astro.resolve('../styles/global.css')} />
+ <style global>
+ @import "../styles/global.css";
+ </style>
</head>
<body>