You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a Vue project, and my thinking is that it'll be better to have all the icons "global", rather than a big list of different icons in the import.
However, I understand that the vast majority of icons won't be used.
So I am wondering what is the "best way" to import the icons. Would importing them globally cause the site to load slower? How would this even be done?
Is there a cleaner way to have the list/array of icons imported? What to do with re-used icons (e.g. confirm/cancel) which would be used throughout the site)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working on a Vue project, and my thinking is that it'll be better to have all the icons "global", rather than a big list of different icons in the import.
However, I understand that the vast majority of icons won't be used.
So I am wondering what is the "best way" to import the icons. Would importing them globally cause the site to load slower? How would this even be done?
Is there a cleaner way to have the list/array of icons imported? What to do with re-used icons (e.g. confirm/cancel) which would be used throughout the site)?
Beta Was this translation helpful? Give feedback.
All reactions