Adding custom cursor with an npm package

Hi, I’m trying to use this code in my site:

I have installed the npm to the site but I don’t know where to use the code. I tried adding the code (“import” and “const App” parts) to my masterPage.js file but it’s not working. I’m kind of new to this so if anyone could take a look into the code and tell me how to use it I would be grateful. Thanks!

You can use it in a custom element file (only if your site is connected to your own domain).

https://support.wix.com/en/article/velo-about-custom-elements

I used the code in a custom element but it doesn’t seem to work :confused:

I’ve never used it myself so I can’t advise, but I thin it should work if you use it correctly.
Maybe someone else?