I am trying to run a JavaScript/jQuery function and Firebug gets the error:
$ is not defined $(function()\".
The JavaScript code is placed
I have solved it as follow.
import $ from 'jquery'; (function () { // ... code let script = $(..) })();