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.
question from:
https://stackoverflow.com/questions/65920487/signature-pad-on-rails-6-and-webpacker 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…