Color
introduce color icons
1. Introduce iconfont.js into the project
// main.js
import './assets/iconfont.js'
2. Use
<svg class="icon" aria-hidden="true">
<use xlink:href="-sharpqc-icecream"></use>
</svg>
3. Modify size
.icon {
width: 1em; height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
SVG, does not have such a problem, direct file form introduces
...