Skip to content

Commit

Permalink
fix node APIs no longer working on desktop nklayman/vue-cli-plugin-el…
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Jan 22, 2021
1 parent 0cbbf07 commit 5b4290f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
pluginOptions: {
// https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/guide.html#native-modules
electronBuilder: {
nodeIntegration: true, // required to reach Node.js APIs for environment specific logic
// https://www.electron.build/configuration/configuration
builderOptions: {
publish: [{
Expand Down

0 comments on commit 5b4290f

Please sign in to comment.