summaryrefslogtreecommitdiff
path: root/docs/src/pages/guides/styling.md
diff options
context:
space:
mode:
authorGravatar Abdullah Mzaien <xa300600@hotmail.com> 2021-12-16 20:36:48 +0300
committerGravatar GitHub <noreply@github.com> 2021-12-16 11:36:48 -0600
commitbb52818ebea1daa3c802fcd3d3b37472237201a2 (patch)
treebd394cfcfd23dd3d2c297187adc7ba3f312bacbf /docs/src/pages/guides/styling.md
parent3f3eceb16be0a6e0dd69720e6eb1ca22f25f6661 (diff)
downloadastro-bb52818ebea1daa3c802fcd3d3b37472237201a2.tar.gz
astro-bb52818ebea1daa3c802fcd3d3b37472237201a2.tar.zst
astro-bb52818ebea1daa3c802fcd3d3b37472237201a2.zip
chore: update tailwind to v3 and update the readme (#2209)
using `.cjs` for file extensions chore: update tailwind to v3 and update the readme
Diffstat (limited to 'docs/src/pages/guides/styling.md')
-rw-r--r--docs/src/pages/guides/styling.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/src/pages/guides/styling.md b/docs/src/pages/guides/styling.md
index f3c88a5af..6bc775edd 100644
--- a/docs/src/pages/guides/styling.md
+++ b/docs/src/pages/guides/styling.md
@@ -211,8 +211,7 @@ And create 2 files in your project root: `tailwind.config.cjs` and `postcss.conf
```js
// tailwind.config.cjs
module.exports = {
- mode: 'jit',
- purge: ['./public/**/*.html', './src/**/*.{astro,js,jsx,svelte,ts,tsx,vue}'],
+ content: ['./public/**/*.html', './src/**/*.{astro,js,jsx,svelte,ts,tsx,vue}'],
// more options here
};
```