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

Blazor web app and Tailwind not working as expected

$
0
0

I have created Blazor web app - Auto and added tailwind to the server part. On the server part it is working with no problems. When I style in the client then it works only if i have the same style on the server.
Ex.: Sever <p class="text-cyan-500">Some text</p>
Client : <p class="text-cyan-500">Some text</p>
If I change color to something else it will not work.

Does somebody else experience same behavior?

To make it work I installed tailwind also on client side, now I have two "tailwind.config.js" and two "tailwind.server.css" & "tailwind-client.css".

Thank you, Matjaz


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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