elecrton 中使用jquery

发布时间 2023-06-29 13:00:04作者: jqynr

其他库都行,就是jquery需要额外配置

参考:https://blog.csdn.net/sinat_28734889/article/details/77869455

引入jquery后判断

<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<script>if (typeof module === 'object') {window.jQuery = window.$ = module.exports;};</script>