How to use TailwindCSS in static_content?
-
Hey!
I want to add a static_content from admin panel in theme section. For example i have this HTML:
<div class="mt-2 font-bold text-xl">A static content section</div>
So the class
mt-2 font-bold text-xl
will not be purged by TW, because they are in th database. Is there any solution for this!? -
Hello @pwnz22
For Static Content, only native normal CSS will be used there if we add a tailwind there then the build is not able to get created for classes, and if some classes are already build and used then it will apply to the static content.
Thanks & Regards