Skip to content

Commit 45c4653

Browse files
AssetKidnklayman
authored andcommitted
fix(template/background): Comment out installVueDevtools import in electron v6 (#603)
1 parent b87d489 commit 45c4653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/templates/base/src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { app, protocol, BrowserWindow } from 'electron'
44
import {
55
createProtocol,
6-
installVueDevtools
6+
<% if (devtoolsExtensionsBroken) { %>/* installVueDevtools */<% } else { %>installVueDevtools<% } %>
77
} from 'vue-cli-plugin-electron-builder/lib'
88
const isDevelopment = process.env.NODE_ENV !== 'production'
99

0 commit comments

Comments
 (0)