mirror of
https://github.com/PanJiaChen/electron-vue-admin.git
synced 2025-04-05 19:41:41 +08:00
修改npm install时的错误
This commit is contained in:
parent
d7428171ff
commit
42b2879094
@ -20,9 +20,9 @@ require('electron-debug')({ showDevTools: true })
|
||||
|
||||
// Install `vue-devtools`
|
||||
require('electron').app.on('ready', () => {
|
||||
let installExtension = require('electron-devtools-installer')
|
||||
const installExtension = require('electron-devtools-installer')
|
||||
installExtension.default(installExtension.VUEJS_DEVTOOLS)
|
||||
.then(() => {})
|
||||
.then(() => ({}))
|
||||
.catch(err => {
|
||||
console.log('Unable to install `vue-devtools`: \n', err)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user