1
0
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:
tingrun919 2017-09-04 15:09:06 +08:00 committed by 花裤衩
parent d7428171ff
commit d9891acde2
2 changed files with 3 additions and 3 deletions

View File

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