Skip to content

Commit

Permalink
docs(guides/styling): add note about Tailwind warning (#6338)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Dalgleish <mark.john.dalgleish@gmail.com>
Co-authored-by: Mehdi Achour <machour@gmail.com>
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
  • Loading branch information
4 people authored May 8, 2023
1 parent c90b16b commit 79b64ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
- coryhouse
- craigglennie
- crismali
- CSFlorin
- cysp
- d4vsanchez
- dabdine
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ export const links: LinksFunction = () => [
];
```

With this setup in place, you can also use [Tailwind's functions and directives][tailwind-functions-and-directives] anywhere in your CSS.
With this setup in place, you can also use [Tailwind's functions and directives][tailwind-functions-and-directives] anywhere in your CSS. Note that Tailwind will warn that no utility classes were detected in your source files if you never used it before.

Note that if you're also using Remix's [built-in PostCSS support][built-in-post-css-support], the Tailwind PostCSS plugin will be automatically included if it's missing, but you can also choose to manually include the Tailwind plugin in your PostCSS config instead if you'd prefer.
If you're also using Remix's [built-in PostCSS support][built-in-post-css-support], the Tailwind PostCSS plugin will be automatically included if it's missing, but you can also choose to manually include the Tailwind plugin in your PostCSS config instead if you prefer.

If you're using VS Code, it's recommended you install the [Tailwind IntelliSense extension][tailwind-intelli-sense-extension] for the best developer experience.

Expand Down

0 comments on commit 79b64ee

Please sign in to comment.