Closed telmogoncalves closed 8 months ago
According to https://tailwindcss.com/docs/content-configuration#dynamic-class-names, you cannot dynamically render icons obtained from the database unless all possibilities are told to tailwind in advance
That's a bummer 🥲 Thanks @hyoban
I'm trying to dynamically render icons but it's not really working, here's an example of the data I get from my database:
Then I try to render it:
I've tried to render these icons outside the
#each
block and it works fine.