I'm trying to use Electron to make a simple application using Angular 4 and Bootstrap. The project can be found here .
When a run electron through
electron src/main.js
in folder electron, I got the error
Uncaught Error: Bootstrap's JavaScript requires jQuery
I tried force jQuery on main.ts, also tried to create vendor.ts and put it on .angular-cli.json like some workarounds I found. But didn't work at all.
I don't know what I should do to Bootstrap detect jQuery.
我删除了“ bootstrap.min.js”,我的错误已解决。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.