There is no problem in running Html page with browser, and there is no problem in using Electron runtime page style, but Jquery method has not been executed. after checking the data, modify the reference line code of Jquery file as follows
<script>window.$ = window.jQuery = require("./js/jquery.min.js"); </script>
But it still has no effect.
I also don’t know how electron conducts debugging.
Require inside Not to Bring Filename extension
require(“./js/jquery.min.js”) -> require(“./js/jquery.min”)
In addition, electron inside’s open debugging tool is BrowserWindow.openDevTools
Specific can check official documents