解決辦法:
在項目根目錄中創建vue.config.js
文件,添加以下內容
module.exports = {
pluginOptions: {
electronBuilder: {
nodeIntegration: true
}
}
}
解決辦法:
在項目根目錄中創建vue.config.js
文件,添加以下內容
module.exports = {
pluginOptions: {
electronBuilder: {
nodeIntegration: true
}
}
}