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
I keep running into issues here. My pngs and jpegs are loading correctly, but no matter what I do I can't get my svgs to show up. I currently have imagemin-svgo, and am running into issues with or without it.
The first issue is that when I require my svg according to the docs here is what I get
Event if I try require( '~public/images/logo-walmart.svg').default, it results with a file that when I open in a new tab shows the following error: error on line 1 at column 1: Document is empty
I keep running into issues here. My pngs and jpegs are loading correctly, but no matter what I do I can't get my svgs to show up. I currently have
imagemin-svgo
, and am running into issues with or without it.The first issue is that when I require my svg according to the docs here is what I get
Event if I try
require( '~public/images/logo-walmart.svg').default
, it results with a file that when I open in a new tab shows the following error:error on line 1 at column 1: Document is empty
If it helps, here is the original svg:
Is there something obvious I'm missing?
The text was updated successfully, but these errors were encountered: