I’m working on my personal site right now, setting up TailwindCSS, and I can’t figure out how to add the outputted CSS file (from tailwind) to my layouts/_default/baseof.html file so the CSS will render correctly.
My setup is a heavily modified hugo-bearblog theme that I’m now trying to add tailwindcss to. TailwindCSS outputs a CSS file to themes/hugo-bearblog/assets/style.css. Then, in themes/hugo-bearblog/layouts/_default/baseof.html, I have this line:
<link rel="stylesheet" href="../../assets/style.css"/>
Unfortunately, this is not working: none of the tailwind styling I add actually shows up in the code. I’ve checked that tailwind is compiling correctly; the classes I am adding into my code are showing up in the style.css.
Is there some sort of templating function I need to run to add the style.css? Or what else can I try/do. Thank you!