From 934d9750cfb9f6d3c0adcc0aabd0c56890b9ce9b Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Thu, 17 Feb 2022 12:39:55 +0000 Subject: [PATCH] importing and inlining global.css with set:html (#2601) --- examples/with-tailwindcss/src/pages/index.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro index 74c3b2e62..6a5ca8f96 100644 --- a/examples/with-tailwindcss/src/pages/index.astro +++ b/examples/with-tailwindcss/src/pages/index.astro @@ -1,6 +1,8 @@ --- // Component Imports import Button from '../components/Button.astro'; +// Imports the global styles to be inlined in the +import styles from '../styles/global.css'; // Full Astro Component Syntax: // https://docs.astro.build/core-concepts/astro-components/ @@ -11,9 +13,7 @@ import Button from '../components/Button.astro'; Astro + TailwindCSS - +