• electron-vue编程的时候出现如下错误:
    Electron Security Warning (Node.js Integration with Remote Content) This renderer process has Node.js integration enabled and attempted to load remote content. This exposes users of this app to severe security risks.
  • 如果出现上述warning,可以在main.js添加:
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'
  • 如下:
  • 结局很完美:

更多推荐

解决Electron Security Warning (Node.js Integration with Remote Content) This rend