天天看点

在electron中使用bootstrap的问题:Uncaught error: bootstrap's javascript requires jquery

在electron中使用bootstrap时,虽然在引用bootstrap之前引用了jQuery,但是依然出现错误:

Uncaught error: bootstrap's javascript requires jquery

解决方法:不使用script标签加载jQuery,而是使用下面的方法加载:

本文转自 h2appy  51CTO博客,原文链接:http://blog.51cto.com/h2appy/1838201,如需转载请自行联系原作者

继续阅读