thomasloven / lovelace-card-mod

🔹 Add CSS styles to (almost) any lovelace card
MIT License
1.12k stars 167 forks source link

Readme needs updating (bug) #398

Open moryoav opened 3 weeks ago

moryoav commented 3 weeks ago

The readme says:

Performance improvements
While card-mod can be installed as a [lovelace resource](https://www.home-assistant.io/lovelace/dashboards/#resources), some functionality will benefit greatly from it being installed as a [frontend module](https://www.home-assistant.io/integrations/frontend/#extra_module_url) instead.

To do that, add the following to your configuration.yaml file and restart Home Assistant:

frontend:
  extra_module_url:
    - /local/card-mod.js
**You'll need to adjust that path according to where you have installed card-mod.js. If you installed through HACS, this is probably /hacsfiles/lovelace-card-mod/card-mod.js**.

However, the latest HACS update cancelled the /hacsfiles/ folder. I don't know what's replacing it and I'm not updating the latest HACS yet, but with the latest update this folder will break.

pcb1962 commented 3 weeks ago

in my install /hacsfiles/ is replaced by /www/community/

frontend:
  extra_module_url:
    - /www/community/lovelace-card-mod/card-mod.js
moryoav commented 3 weeks ago

/local/community/ seems to work fine. So the readme needs to be updated.