electron remote 报错

require('electron').remote

解决方法地址:https://stackoverflow.com/questions/44391448/electron-require-is-not-defined

app.on('ready', () => { mainWindow = new BrowserWindow({ webPreferences: { nodeIntegration: true, contextIsolation: false, } }); });
posted @ 2021-05-18 18:53  三瑞  阅读(143)  评论(0编辑  收藏  举报