I found out that using dynamic classes requires you to add the given class to the safe list as Tailwind is only loading classes statically present in the
className
className
attribute. As this is obviously heavy for maintenance (if you want to keep the size optimised, stripped from unused CSS), how do you deal with this ?
Here is an example, how would you make classes static ?