最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Blazor web app and Tailwind not working as expected - Stack Overflow

programmeradmin3浏览0评论

I have created Blazor web app—Auto and added tailwind to the server part. The server part is working with no problems. When I style in the client, 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 similar behavior?

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

Thank you, Matjaz

发布评论

评论列表(0)

  1. 暂无评论