Closed paulyu12 closed 4 years ago
My project tree: my-electron-vue-project
In src/main/index.js
In src/main/preload.js
In my renderer script:
I turnt 'join' to 'resolve', and it worked for me.
My project tree: my-electron-vue-project
In src/main/index.js
In src/main/preload.js
In my renderer script:
The reason I turn nodeIntegration to False is for security, but window.isElectron (I defined it in preload.js) is always false !!!