Ha, maybe try the reverse then. Import the image as code in an element.
Maybe put both side-by-side… Then open in a web browser and inspect the elements with developer mode. If you see any errors, that might be where the problem is located. This is just troubleshooting. I’m not sure why the SVG image won’t load.
Maybe it’s a design problem., is your SVG using fonts? I usually flatten my vector graphics and convert everything to curves.