There are two ways of using SVG:
- Just import it or use
background: url()
in your css and it will be inserted as data URI - Call the svg file with "inline" suffix (i.e., "icon.inline.svg"), then import it and it will import optimized svg, which can be inserted to the DOM.