zxf2012 / vue-devtools

Chrome devtools extension for debugging Vue.js applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-devtools

screenshot

Works with vuex for time-travel debugging:

demo

NOTES

  1. vue-devtools only works with Vue.js 1.0.0+.

  2. For Vue version < 1.0.16, The devtool will only work with development (non-minified) versions of Vue, because the devtools hooks are stripped in production builds. This also includes builds produced by Webpack and Browserify in production mode.

  3. Vue 1.0.16 and 1.0.17 works with devtools in all cases.

  4. Vue 1.0.18+ devtools hooks are now disabled in production builds by default. However, you can explicitly enable it by setting:Vue.config.devtools = true

  5. 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.

Installation

Currently only a Chrome devtools extension is available.

Get it on the Chrome Web Store.

Manual Installation

  1. Clone this repo
  2. npm install
  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.

About

Chrome devtools extension for debugging Vue.js applications.


Languages

Language:JavaScript 55.1%Language:Vue 40.2%Language:CSS 2.3%Language:HTML 2.0%Language:Shell 0.4%