Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

vue-devtools

5.0.0-beta.1 • Public • Published

vue-devtools

Build Status NPM Downloads NPM Version License Dependency Status devDependency Status Code Style

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

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. 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

MIT © vuejs/vue-devtools

MIT © 汪磊

Keywords

install

npm i vue-devtools

Downloadsweekly downloads

1,756

version

5.0.0-beta.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability