Created
April 6, 2020 02:16
-
-
Save gdonega/219d1ac007c477053568d9315bd8ca02 to your computer and use it in GitHub Desktop.
Arrumando o require('electron-debug')
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This file is used specifically and only for development. It installs | |
* `electron-debug` & `vue-devtools`. There shouldn't be any need to | |
* modify this file, but it can be used to extend your development | |
* environment. | |
*/ | |
/* eslint-disable */ | |
// Install `electron-debug` with `devtron` | |
require('electron-debug')() | |
// Install `vue-devtools` | |
require('electron').app.on('ready', () => { | |
let installExtension = require('electron-devtools-installer') | |
installExtension.default(installExtension.VUEJS_DEVTOOLS) | |
.then(() => {}) | |
.catch(err => { | |
console.log('Unable to install `vue-devtools`: \n', err) | |
}) | |
}) | |
// Require `main` process to boot app | |
require('./index') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment