Lovelace custom cards

Hi,
I,m trying to add https://github.com/postlund/home-card custom card to lovelace, I’ve cloned the repository to www directory and added :

resources:
  - url: /local/home-card/home-card.js?v=0
    type: module

but when I try to add the card to the front-end got this error:

No card type found
[
  {
    "type": "custom:home-card",
    "theme": "two_story_with_garage",
    "weather": "weather.home"
  }
]

any ideas?
thanks

Is it in the ‘home-card’ folder?

url: /local/home-card/home-card.js?v=0

Yes It’s in the home-card folder