I will admit that vue-fontawesome is a bit boilerplate-y, since we have to call library.add(...) in index.js for every icon we want to use. However, the benefit of doing this in code instead of pulling FontAwesome from a CDN is that Parcel will tree-shake unused SVG icons, greatly minimizing the impact FontAwesome has on our initial download size.
Closes #731
I will admit that vue-fontawesome is a bit boilerplate-y, since we have to call
library.add(...)
inindex.js
for every icon we want to use. However, the benefit of doing this in code instead of pulling FontAwesome from a CDN is that Parcel will tree-shake unused SVG icons, greatly minimizing the impact FontAwesome has on our initial download size.