You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I try to use svelte-inline-svg to import an inline svg from a file.
Example:
<InlineSVG src="/logo.svg" />
It required a path to the svg, but I can't figure it out how I can give it the correct path. I'm not even sure if it's possible in the current state of elder ?
The text was updated successfully, but these errors were encountered:
@kiuKisas I'd need to play with the inline-svg plugin, but it appears you just give it the path relative to the Svelte file you are working in. Is that not working?
The way I've handled SVGs internally is via an Elder.js shortcode that reads the file, compresses it, and outputs the base64 representation.
So, I try to use svelte-inline-svg to import an inline svg from a file.
Example:
It required a path to the svg, but I can't figure it out how I can give it the correct path. I'm not even sure if it's possible in the current state of elder ?
The text was updated successfully, but these errors were encountered: