Electron "jQuery/$ is not defined" 解决方法

参考问题:https://*.com/questions/32621988/electron-jquery-is-not-defined

<!-- Insert this line above script imports  -->
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> <!-- normal script imports etc -->
<script src="scripts/jquery.min.js"></script>
<script src="scripts/vendor.js"></script> <!-- Insert this line after script imports -->
<script>if (window.module) module = window.module;</script>

亲测可解决此问题!

上一篇:Ubuntu下安装配置和卸载Tomcat


下一篇:RabbitMQ学习在windows下安装配置