summaryrefslogtreecommitdiff
path: root/docs/src/pages/guides/styling.md
diff options
context:
space:
mode:
authorGravatar Matt Rossman <rossman@gatech.edu> 2021-11-22 17:26:30 -0500
committerGravatar GitHub <noreply@github.com> 2021-11-22 16:26:30 -0600
commit12670561816b514a1684ffd9ee63cb962bcbc905 (patch)
tree5d08cbd5458dbe33ad0dc3a2818d55fc856a55cf /docs/src/pages/guides/styling.md
parentfff00e45f00f8534ec5fe66302d8c44639b34499 (diff)
downloadastro-12670561816b514a1684ffd9ee63cb962bcbc905.tar.gz
astro-12670561816b514a1684ffd9ee63cb962bcbc905.tar.zst
astro-12670561816b514a1684ffd9ee63cb962bcbc905.zip
Update Tailwind PostCSS config sample (#1980)
Diffstat (limited to 'docs/src/pages/guides/styling.md')
-rw-r--r--docs/src/pages/guides/styling.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/src/pages/guides/styling.md b/docs/src/pages/guides/styling.md
index 167f4fb40..129114235 100644
--- a/docs/src/pages/guides/styling.md
+++ b/docs/src/pages/guides/styling.md
@@ -224,8 +224,10 @@ module.exports = {
```js
// postcss.config.cjs
module.exports = {
- tailwind: {},
-};
+ plugins: {
+ tailwindcss: {},
+ },
+}
```
Now you're ready to write Tailwind! Our recommended approach is to create a `src/styles/global.css` file (or whatever you‘d like to name your global stylesheet) with [Tailwind utilities][tailwind-utilities] like so: