feat: 允许使用node api

master
shuxiaokai 4 years ago
parent 3f8fb13f9a
commit 476986c869

@ -42,6 +42,7 @@ module.exports = {
}, },
pluginOptions: { pluginOptions: {
electronBuilder: { electronBuilder: {
nodeIntegration: true, //参考https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html
extends: null, extends: null,
externals: [ externals: [
"vue", "vue",

Loading…
Cancel
Save