Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to use TailwindCSS with dynamic content which came from DB?

$
0
0

We are working on a CMS which is based on ASP.NET Core Blazor & TailwindCSS. we've developed multiple blocks using tailwindcss and used tailwind's cdn script for development. but it's performance is not good in lighthouse test. If we add defer or async tags for tailwind's script, initial load of page won't have styles.

Whad do you suggest for our workflow? Should we use static css with common tailwind classes (tailwind v2 approach) or build styles after each time page content changed? or any better idea?

Thanks

We've tried using tailwind's cdn script and it's performance is not good for production use.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>