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