admin管理员组文章数量:1287119
<nav>
<ul>
<li><a href="#" class="secondary">...</a></li>
</ul>
<ul>
<li><strong>Acme Corp</strong></li>
</ul>
<ul>
<li><a href="#" class="secondary">...</a></li>
</ul>
</nav>
I'm struggling to have Picco CSS recognize the className attribute the same as class (the class attribute needs to be className in react).
I set up a new Vite project with react and typescript.
How can I fix this?
I tried doing various things with my vite config and setting a custom scss file.
本文标签:
版权声明:本文标题:How can I integrate Picco CSS with React while ensuring the same styles are applied when using the className attribute in React 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741306483a2371397.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论