svelte-awesome
svelte-awesome copied to clipboard
Possible to import icons dynamically?
I am trying to render icons depending on strings with the icon names that I initiate the component with. Is it possible to import icons dynamically depending on a configuration set at runtime e.g. from a string? It seems like including fontawesome in a link tag doesn't render <i>
tags in web components with their own shadow root (haven't tested without customElements: true).