I've created Electron-Vuejs-Vuetify project from this Vuetify's boilerplate
I'm seeing this warning in the console:
Electron Security Warning This renderer process has Node.js integration enabled and attempted to load remote content. This exposes users of this app to severe security risks. For more information and help, consult https://electronjs.org/docs/tutorial/security
What can possible cause that - Node, Vue.js, webpack's localhost config? What should I do?
One of Electron's greatest strengths is also its biggest security risk. By using web technologies and languages outside the sandboxed environment of a browser, Electron opens up users' entire computers to potential exploitation.
You can call app. quit() or app. exit() in order to close the application, then it will restart because you already called app. relaunch() .
The renderer process Each Electron app spawns a separate renderer process for each open BrowserWindow (and each web embed). As its name implies, a renderer is responsible for rendering web content.
Add the following line to main.js
:
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true';
However you should read Security, Native Capabilities, and Your Responsibility to fully understand the implications of doing so.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With