v2.0.0-rc.4 - Switch to electron-devtools-installer
From now on, whenever you add this plugin to your project, electron-devtools-installer will be used instead of the provided installVueDevtools
function. This function was based off of electron-devtools-installer but with some fixes. These fixes have since been merged into electron-devtools-installer (as well as new features like electron v9 support). It is recommended that you switch to electron-devtools-installer as the installVueDevtools
function will be removed in the 2.0.0
final release. To do so, edit your background.(js|ts)
:
import {
createProtocol,
- installVueDevtools
} from 'vue-cli-plugin-electron-builder/lib'
+ import installExtension, { VUEJS_DEVTOOLS } from 'electron-devtools-installer'
... (around line 77)
-await installVueDevtools()
+await installExtension(VUEJS_DEVTOOLS)
And then run npm i -D electron-devtools-installer
/yarn add -D electron-devtools-installer
.