How to install swipe card properly?

I hope someone can help me.
I have installed the swipe card trough HACS.

The file swipe-card.js is inside the config\www\custom-lovelace\swipe-card folder.

Based on the install instruction, I should insert the following to the lovelace config:

resources:
  - url: /local/custom-lovelace/swipe-card/swipe-card.js
    type: module

But where is the lovelace config located and does dwains dashboard use a different config file?

I have inserted this code both to the configuration.yaml in the root folder an to the dwains-dashboard/configs/settings.yaml file, but in the frontend I get the error “custom element doesn’t exist: swiper-card”.

Settings - dashboards - upper right dots - resources

1 Like

In my experience, when using HACS there is no need to register resources manually, it is already done by HACS.