vue-feather-icon-set
Optimized Feather icon set for Vue using SVG references.
Install
?? Usage
-
Put the IconLayer at the top of your app.
The IconLayer needs to be top-level, above any icon usage. It's okay to put it in the app too as long as it's before any icons are used. -
Import the icon and use it!
FAQ
How is this optimized?
It's optimized using vue-svg-icon-set by leveraging how SVGs can be referenced and reused like variables with the <use>
element. This icon-set leverages this feature to define referencable SVGs so that repeated usage of an icon isn't duplicated in the DOM.
Demo on JSFiddle