summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar kreako <65113001+kreako@users.noreply.github.com> 2021-09-05 02:09:39 +0200
committerGravatar GitHub <noreply@github.com> 2021-09-04 19:09:39 -0500
commit02c38a0d3b1e71d2cb708c5ef2d2c472ca977e5a (patch)
treeb03113e04f37897dabb67ba0091ea9a973c1aeb4 /examples
parentd653823ea2efa487237384244ba68ffa44ca7731 (diff)
downloadastro-02c38a0d3b1e71d2cb708c5ef2d2c472ca977e5a.tar.gz
astro-02c38a0d3b1e71d2cb708c5ef2d2c472ca977e5a.tar.zst
astro-02c38a0d3b1e71d2cb708c5ef2d2c472ca977e5a.zip
examples: Fix with-tailwindcss example #1256 (#1312)
Diffstat (limited to 'examples')
-rw-r--r--examples/with-tailwindcss/src/pages/index.astro2
-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