DEV Community

loading...

Discussion on: Svelte + Tailwind + Parcel = Awesome!

Collapse
mattwaler profile image
Matt Waler

This is awesome! I love the idea of parcel, but I just always have too much trouble with it. For example, with tailwind, parcel does not rebuild when you make changes to your config file. Also, PostCSS imports are just not possible with Tailwind AFAIK.

Collapse
codechips profile image
Ilia Mikhailov Author

Thanks! How often do change your config file? PostCSS imports are possible with Tailwind. You just have to structure your files in specific way. tailwindcss.com/docs/using-with-pr.... I think you should give Parcel and Tailwind a second chance :)

Collapse
mattwaler profile image
Matt Waler

I change it fairly frequently as I am developing, like when I add a new color, font-family, or any spacing-related values. It can get very annoying. I can also assure you that mixing PostCSS imports with Tailwind directives like @apply and @responsive or @variants is not possible and leads to errors and specificity issues all around.