You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a variety of different How to Use Tailwind in Parcel on the web, and as there is no official documentation of how to do it, I would like to hear from others whats the recommended setup is.
Key takeaways I observed/experienced:
some users install Tailwind as dependency while others install it as devDependency, what’s the “correct” way?
Tailwind prefers .postcssrc.json, which is required to use Tailwind’s cache(?)
I can name my main style file either css or pcss, and Parcel seems to be fine with both
Right now my config looks like this: .postcssrc.json
I've captured this in our internal integration guides roadmap so going to close 👍🏻 Will put this together and publish it next time we work on that project (probably late February).
There is a variety of different How to Use Tailwind in Parcel on the web, and as there is no official documentation of how to do it, I would like to hear from others whats the recommended setup is.
Key takeaways I observed/experienced:
dependency
while others install it asdevDependency
, what’s the “correct” way?.postcssrc.json
, which is required to use Tailwind’s cache(?)css
orpcss
, and Parcel seems to be fine with bothRight now my config looks like this:
.postcssrc.json
package.json
(excerpt)I would love to hear your advice how you setup Parcel & Tailwind!
Thanks!
The text was updated successfully, but these errors were encountered: