4 ms·
I'd prefer not to do this remotely, but I couldn't find a browser bundle from SVGR. SVGO provides one. If you can think of a way to do it, please let me know or
by themoodyrooster 2y ago
I'd prefer not to do this remotely, but I couldn't find a browser bundle from SVGR. SVGO provides one. If you can think of a way to do it, please let me know or post an issue on GitHub.
Also you can see the server code in the server folder in case you're curious what it's doing.
- JoeyBananas 2y agoSaving an svg is fundamentally a matter of copying whatever is between the <svg> tags and pasting it into a text file. That's literally all you have to do. I have a 5 line JS function that I use for this.
- themoodyrooster 2y agoI don't think what you're saying applies to this conversation of transforming SVG code into configurable JSX for React using the SVGR package.