0
<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).

https://picocss.com/docs/nav

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.

    0

    Start asking to get answers

    Find the answer to your question by asking.

    Ask question

    Explore related questions

    See similar questions with these tags.