vue-devtools
vue-devtools
An electron devtools extension for debugging Vue.js applications.
Installation
$ yarn add vue-devtools -D
# or npm
$ npm install vue-devtools --save-dev
Usage
Installing
calling install in your main.js
const { app } = require('electron')
app.on('ready', () => {
// ...
if (process.env.NODE_ENV !== 'production') {
require('vue-devtools').install()
}
// ...
})
Uninstalling
calling uninstall in your main.js
const { app } = require('electron')
app.on('ready', () => {
// ...
if (process.env.NODE_ENV !== 'production') {
require('vue-devtools').uninstall()
}
// ...
})
API
install()
Install Vue.js devtools in Electron devtools.
uninstall()
Uninstall Vue.js devtools in Electron devtools.
Contributing
- Fork it on GitHub!
- Clone the fork to your own machine.
- Checkout your feature branch:
git checkout -b my-awesome-feature - Commit your changes to your own branch:
git commit -am 'Add some feature' - Push your work back up to your fork:
git push -u origin my-awesome-feature - Submit a Pull Request so that we can review your changes.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
License
Related Packages
vue-electron
The vue plugin that attaches electron APIs to the Vue object, making them access...
161,317
294
Version History
| Version | Released | License |
|---|---|---|
| 5.1.4 | MIT | |
| 5.1.3 | MIT | |
| 5.1.2 | MIT | |
| 5.1.1 | MIT | |
| 5.1.0 | MIT | |
| 4.1.4 | MIT | |
| 3.1.9 | MIT | |
| 3.1.6 | MIT | |
| 3.1.5 | MIT | |
| 3.1.2 | MIT | |
| 3.0.8 | MIT | |
| 2.0.4 | MIT | |
| 2.0.3 | MIT | |
| 2.0.2 | MIT |
Pre-releases (2)
| Version | Released | License |
|---|---|---|
| 5.0.0-beta.1 | MIT | |
| 2.3.1-beta1 | MIT |