Questions tagged [svg-sprite-loader]

6 questions
4
votes
1 answer

Inline svg vs svg Sprite vs multiple external files

OK so i am building a web app using Laravel & Vue js mainly. I tried to use https://github.com/JetBrains/svg-sprite-loader#installation but the exported svg shows up blank. In that context before proceeding, i started wondering if this is really…
1
vote
0 answers

SVG icons getting corrupted while using file-loader along with svg-sprite-loader

The following Webpack loaders/pluging are used in our project – CopyPlugin – To copy all the assets to the build folder File Loader – To Resolve import/require() on a file into a url and emits the file into the output directory Svg Sprite Loader –…
1
vote
1 answer

SVG sprite issue with Laravel Mix

I'm struggled with the following and would appreciate any help...! I try to use Laravel Mix (v5.0.4) and extend it with SVG sprite loader (svg-sprite-loader) to generate SVG sprite. I have the following folder structure: resources/ images/ …
Sas Sam
  • 681
  • 4
  • 10
  • 25
0
votes
0 answers

why svg can't display when I use svg-sprite-loader in Vue?

browser console I try to use svg-sprite-loader with Vue, but there's something wrong. It seems like the svg file had been loaded at the start of the , but there is nothing under the tag index.js and iconSvg.vue are under…
mrcy
  • 1
  • 2
0
votes
0 answers

SVG Sprite Resource Loading Performance

I have recently switched all of my icons on my site to SVG icons/images. I am serving all of the SVGs from one sprite file. I am using Chrome Dev Tools Performance to try to optimize loading of resources. I was very surprised to see that the…
0
votes
1 answer

svg-sprite-loader outputPath breaks svgo

My svgo-loader is working fine, until I add an outputPath to my svg-sprite-loader. At which point the svgo-loader no longer finds the file.
user1015434
  • 83
  • 1
  • 6