Hi I installed with yarn the package [email protected] which I would like to add and use in a Rails 6 project with Webpacker.
However when trying to use the package it throws an error : Uncaught ReferenceError: SignaturePad is not defined
I added in application.js : require("signature_pad")
like other javascript files already added and working as expected.
I am not sure what I am missing.
Thanks in advance for answers and advices.
I was able to get it working as well by doing it like this in my application.js file: