注意:
electron中require与Bootstrap中的Require冲突,需要做以下处理
<script type="text/javascript">
window.nodeRequire = require;
delete window.require;
delete window.exports;
delete window.module;
</script>
注意:
electron中require与Bootstrap中的Require冲突,需要做以下处理
<script type="text/javascript">
window.nodeRequire = require;
delete window.require;
delete window.exports;
delete window.module;
</script>