I have tried to make a loading spinner for my website, but I cant seem to get it to work. I get the error in the console, that the site was unable to load the SVG file. Would be great if someone could locate the problem and help me by looking at the screenshots below:
Asked
Active
Viewed 2,204 times
2
-
1this is likely to do with an svg / inline-svg loader in your webpack config and not react itself. – Dimitar Christoff Feb 26 '18 at 10:27
-
you might found this link helpful. https://stackoverflow.com/questions/34257800/how-to-set-up-an-inline-svg-with-webpack – Javed Shaikh Feb 26 '18 at 10:50