From 476986c869586e38958acdfbbbe35bc32413dcc1 Mon Sep 17 00:00:00 2001 From: shuxiaokai <2581105856@qq.com> Date: Wed, 4 Aug 2021 18:06:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=81=E8=AE=B8=E4=BD=BF=E7=94=A8nod?= =?UTF-8?q?e=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index 8d968d7f..93b2193f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -42,6 +42,7 @@ module.exports = { }, pluginOptions: { electronBuilder: { + nodeIntegration: true, //参考https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html extends: null, externals: [ "vue",