Instead of repeating these code blocks:
<svg class="icon-user">
<use href="LONGFILENAME.svg#icon-user">
</use>
</svg>
<svg class="icon-user2">
<use href="LONGFILENAME.svg#icon-user2">
</use>
</svg>
I am looking for a way to make my SVG globally accessible or referenced so I can simplify my code like this:
<svg class="icon-user">
<use href="#icon-user">
</use>
</svg>
<svg class="icon-user2">
<use href="#icon-user2">
</use>
</svg>
Is there a solution for this scenario?