Reputation: 1
<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.
Upvotes: 0
Views: 4