1
0
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:
tingrun919 2017-09-04 15:09:06 +08:00
parent d7428171ff
commit 42b2879094
2 changed files with 3 additions and 3 deletions

View File

@ -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)
})