Skip to content

Commit

Permalink
docs: add PostCSS/Tailwind support to v2 guide (#6910)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored Jul 21, 2023
1 parent 24032ee commit 80c6842
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/pages/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,19 @@ remix dev --manual -c 'node ./server.js'

Check out the [manual mode guide][manual-mode] for more details.

## Built-in PostCSS/Tailwind support

In v2, these tools will be automatically used within the Remix compiler if PostCSS and/or Tailwind configuration files are present in your project.

If you have a custom PostCSS and/or Tailwind setup outside of Remix that you'd like to maintain when migrating to v2, you can disable these features in your `remix.config.js`.

```js filename=remix.config.js
module.exports = {
postcss: false,
tailwind: false,
};
```

[future-flags]: ./api-development-strategy
[remix-config]: ../file-conventions/remix-config
[flat-routes]: https://github.com/remix-run/remix/discussions/4482
Expand Down

0 comments on commit 80c6842

Please sign in to comment.