question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Similar to the React devtools issue with iframes Vue devtools doesn’t recognize the Storybooks components. Seems the solution is also similar using the __VUE_DEVTOOLS_GLOBAL_HOOK__, although I’m actually not sure if that’s up to date.

Anyhow, if finally Vue devtools is not compatible with Storybooks there should be a BIG warning about that.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:22
  • Comments:51 (25 by maintainers)

github_iconTop GitHub Comments

27reactions
gapiprocommented, Oct 19, 2018

Current solution is to use this: https://github.com/vuejs/vue-devtools/blob/master/shells/electron/README.md

And inject script tag into iframe using https://storybook.js.org/configurations/add-custom-head-tags/

By doing so you get a standalone DevTools with working inspection.

10reactions
blockacommented, Dec 4, 2019

the latest versions of storybook have a “pop out” mode, which basically does this for you

On Wed, Dec 4, 2019 at 11:30 AM Frédéric G. MARAND notifications@github.com wrote:

In the meantime, zero-code/zero-conf hack: inspect the iframe in devtools, and right-click on “Open in new tab” on its “src” attribute, and you get the inspected component with the working devtools. Of course, you’ll need to do it again every time you want to inspect another component.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/storybookjs/storybook/issues/1708?email_source=notifications&email_token=AAAKROROGQQRKIKWA5ZMKY3QW7LLDA5CNFSM4DXZQUZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5TRXI#issuecomment-561723613, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAKROU32Y6IUMWBS3Z36NTQW7LLDANCNFSM4DXZQUZA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue.js devtools
Chrome devtools extension for debugging Vue.js applications. Details. Version: 6.4.5. Updated: October 18, 2022.
Read more >
Vue Devtools: Home
Browser devtools extension for debugging Vue.js applications.
Read more >
️ Browser devtools extension for debugging Vue.js ... - GitHub
Browser devtools extension for debugging Vue.js applications. - GitHub - vuejs/devtools: ⚙️ Browser devtools extension for debugging Vue.js applications.
Read more >
Vue.js devtools – Get this Extension for Firefox (en-US)
DevTools extension for debugging Vue.js applications. You'll need Firefox to use this extension. Download Firefox and get the extension.
Read more >
@vue/devtools - npm
StandAlone vue-devtools. Latest version: 6.4.5, last published: 2 months ago. Start using @vue/devtools in your project by running `npm i ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found