HUGO

Tailwind starter and "classic" css

hi,
I’m using a starter from @bep (tailwind) and got a little issue.
I have classic css in a partial (for an audio player) that I don’t want to transform into tailwind css but when I add some tailwind css in this page to some elements in this partial it does not work. Is it linked to how Hugo pipes works or I’m not respecting good practice here?

Do you have a repository with the code in it? Then it might be easier to assess the problem.

Maybe, purgecss is not aware of the Tailwind classes used in the partial and thus removes them from the stylesheet. But that is only a blind guess.

1 Like