Skip to content

Instantly share code, notes, and snippets.

@alexey-kar
Created July 15, 2019 09:25
Show Gist options
  • Save alexey-kar/ad80a615ffbaf786c1b3e4146c0c3c91 to your computer and use it in GitHub Desktop.
Save alexey-kar/ad80a615ffbaf786c1b3e4146c0c3c91 to your computer and use it in GitHub Desktop.
Не работает Vue Devtools
https://github.com/vuejs/vue-devtools/issues/620
This may be brittle but in production if you are not getting a connection of vue 2.x.13 you can do this. We wanted this in our QA environments when needed.
// Before you create app
Vue.config.devtools = true;
// After you create app
window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue = app.constructor;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment