Electron - require is not defined, despite nodeIntegration being true

后端 未结 0 1943
梦谈多话
梦谈多话 2021-02-04 03:16

my problem is - I got a main.js file, and a functions.js file, where I want some of my functions to be. However, whenever I use require in that functions.js file, I get an error

相关标签:
回答
  • 消灭零回复
提交回复
热议问题