diff options
-rw-r--r-- | examples/with-tailwindcss/src/pages/index.astro | 2 | ||||
-rw-r--r-- | examples/with-tailwindcss/src/styles/global.css (renamed from examples/with-tailwindcss/public/global.css) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro index 6c0408c8d..10f370ba3 100644 --- a/examples/with-tailwindcss/src/pages/index.astro +++ b/examples/with-tailwindcss/src/pages/index.astro @@ -12,7 +12,7 @@ import Button from '../components/Button.astro'; <link rel="icon" type="image/x-icon" href="/favicon.ico" /> <title>Astro + TailwindCSS</title> - <link rel="stylesheet" type="text/css" href="/global.css"> + <link rel="stylesheet" type="text/css" href={Astro.resolve("../styles/global.css")}> </head> <body> diff --git a/examples/with-tailwindcss/public/global.css b/examples/with-tailwindcss/src/styles/global.css index b5c61c956..b5c61c956 100644 --- a/examples/with-tailwindcss/public/global.css +++ b/examples/with-tailwindcss/src/styles/global.css |