Move all hass:
icons to @mdi/js
imports
#11269
Unanswered
bramkragten
asked this question in
Other feature requests
Replies: 3 comments
-
@bramkragten should we use |
Beta Was this translation helpful? Give feedback.
0 replies
-
We should set it as a property, so |
Beta Was this translation helpful? Give feedback.
0 replies
-
@bramkragten ok, that's how I did it in my first PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The request
We no longer do anything with the
hass
prefixed icons since we lazy load icons. We treat them the same as normalmdi
icons. This means we download a icon chunk and cache in the db, and that we fetch from the db on allhass
icons.We should import the icons we use ourselves, that means we can code split them and load only what we need for the specific page.
The alternatives
Keep it like it is now.
Additional information
from:
to:
Beta Was this translation helpful? Give feedback.
All reactions