Closed marvin-j97 closed 12 months ago
Probably related to https://github.com/x64Bits/solid-icons/issues/41 ? Maybe https://github.com/x64Bits/solid-icons/issues/45 as well
the svg path seems to be in quotes in the html causing the svg to not render.
Hello, I am very aware of the problem that solid-icons are having when used in astro.
I hadn't given an answer because I wanted to reply with the solution, but it's taking me longer to figure out why this is happening, I think it's a problem in the build because in solid you can't just do <svg>{iconSrc.c}< /svg>
, I'm concentrating on fixing this, I'll bring news over the weekend, thanks!
Hi everyone, i comment here about it https://github.com/x64Bits/solid-icons/issues/41#issuecomment-1620939575
Working for me @x64Bits :+1:
Great @marvin-j97! Thank you very much for notifying this and the effort for the code to reproduce the error helped a lot!
Reproduction: https://github.com/marvin-j97/solid-1.7-icons
Icon is invisible. Changing
client:load
toclient:only
fixes it.