Skip to content
master
Go to file
Code
This branch is 273 commits behind vuejs:master.

Latest commit

* inject: prevent global variable 'script'

Once the Vue panel is open, a variable window.script appears with the
injected script tag. Fix it by wrapping it in an anonymous function.

* Only inject script if document is a HTMLDocument

Fixes vuejs#356
874b22b

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

vue-devtools

Important Usage Notes

  1. If the page uses a production/minified build of Vue.js, devtools inspection is disabled by default so the Vue pane won't show up.

  2. To make it work for pages opened via file:// protocol, you need to check "Allow access to file URLs" for this extension in Chrome's extension management panel.

demo

Works with vuex for time-travel debugging:

demo

Installation

Manual Installation

Make sure you are using Node 6+ and NPM 3+

  1. Clone this repo
  2. npm install (Or yarn install if you are using yarn as the package manager)
  3. npm run build
  4. Open Chrome extension page
  5. Check "developer mode"
  6. Click "load unpacked extension", and choose shells/chrome.

Hacking

  1. Clone this repo
  2. npm install
  3. npm run dev
  4. A plain shell with a test app will be available at localhost:8080.

Testing as Firefox addon

  1. Install web-ext

    $ npm install --global web-ext
    

    Or, for Yarn:

    $ yarn global add web-ext
    

    Also, make sure PATH is set up. Something like this in ~/.bash_profile:

    $ PATH=$PATH:$(yarn global bin)
    
  2. Build and run in Firefox

    $ npm run build
    $ npm run run:firefox
    

    When using Yarn, just replace npm with yarn.

License

MIT

About

Chrome devtools extension for debugging Vue.js applications.

Resources

License

Packages

No packages published
You can’t perform that action at this time.