Problem: while developing using Electron, when you try to use any JS plugin that requires jQuery, the plugin doesn\'t find jQuery, even if you load in the correct path using
This works for me.
<script languange="JavaScript"> if (typeof module === 'object') {window.module = module; module = undefined;} </script>
Things to consider:
1) Put this in section right before </head>
</head>
2) Include Jquery.min.js or Jquery.js right before the </body> tag
</body>