-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodeIntegration required for ipcRenderer #683
Comments
I had to enable the module.exports = {
pluginOptions: {
electronBuilder: {
nodeIntegration: true
}
}
} |
I am going to reopen this as |
nklayman
changed the title
__dirname is not defined when importing ipcRenderer
nodeIntegration required for ipcRenderer
Mar 17, 2020
Nevermind, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When attempting to import
ipcRenderer
from a render process, the following error occurs in the browser console:To Reproduce
Simply just try use the ipcRenderer from a render process. For example:
Home.vue
Expected behavior
No errors and a working application.
Screenshots
Environment (please complete the following information):
Additional context
I can confirm the relevant error occurs in a fresh installation of a Vue app with the Vue CLI Plugin Electron Builder project.
The text was updated successfully, but these errors were encountered: