Skip to content

Commit 7053b37

Browse files
authored
chore(docs): Add note to tailwind doc (#35256)
1 parent b59b411 commit 7053b37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/docs/how-to/styling/tailwind-css.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ module.exports = {
200200
}
201201
```
202202

203-
Full documentation on this can be found on the Tailwind site - [Tailwind Content Configuration documentation](https://tailwindcss.com/docs/content-configuration)
203+
See Tailwind's documentation for [usage with Gatsby](https://tailwindcss.com/docs/guides/gatsby) and [extended content configuration options](https://tailwindcss.com/docs/content-configuration) for more information.
204+
205+
> **Note:** It is **not recommended** that you include Gatsby's output directories (e.g. `public`, `.cache`) in your content array in your Tailwind config. You should only need to include your source files to have Tailwind work as expected.
204206
205207
**Older versions**
206208

0 commit comments

Comments
 (0)