Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
⚙️ Browser devtools extension for debugging Vue.js applications.
Branch: dev
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci chore: fix ci Jul 30, 2018
.github add issue template Jan 14, 2018
cypress test(e2e): fix Mar 21, 2019
dist update zip script Jun 15, 2017
docs chore: update readme Dec 20, 2018
media
shells chore: @vue/devtools 5.0.0-beta.5 Mar 21, 2019
src fix(vuex): import state Mar 21, 2019
types feat(ts): added type definitions (#836) Mar 20, 2019
.browserslistrc chore: added postcss and autoprefixer Jul 31, 2018
.eslintrc.js chore: eslint refactoring, now with standard + vue/recommended configs Jul 26, 2018
.gitignore feat: Make Collapse/Expand All affects child elements (#715) Jul 31, 2018
LICENSE chore(license): update range (#487) Jan 1, 2018
README.md docs: 📝 setting (#859) Mar 20, 2019
cypress.json test: migrate to cypress Jul 26, 2018
package.json
postcss.config.js
release.js fix(release): version_name Aug 31, 2018
vue1-test.html Improve Vue@1.x compat (#534) Jan 20, 2018
yarn.lock chore(deps): upgrade Mar 20, 2019

README.md

vue-devtools

screenshot

Installation

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.

Open component in editor

To enable this feature, follow this guide.

Manual Installation

This is only necessary when you want to build the extension yourself from source to get not-yet-released features.

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.

Development

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

Quick Start in chrome

// Before you create app
Vue.config.devtools = process.env.NODE_ENV === 'development'

// After you create app
window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue = app.constructor;

// then had to add in ./store.js as well.
Vue.config.devtools = process.env.NODE_ENV === 'development'

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.

Common problems and how to fix

  1. Fixing "Download the Vue Devtools for a better development experience" console message when working locally over file:// protocol: 1.1 - Google Chrome: Right click on vue-devtools icon and click "Manage Extensions" then search for vue-devtools on the extensions list. Check the "Allow access to file URLs" box.

  2. How to use the devtools in IE/Edge/Safari or any other browser? Get the standalone Electron app (works with any environment!)

License

MIT

You can’t perform that action at this time.