-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue DevTools recommendation only shows for Chrome, not Firefox #8634
Labels
Comments
AlexMaguey
added a commit
to AlexMaguey/vue
that referenced
this issue
Aug 11, 2018
13 tasks
Can I take this up? :) |
yyx990803
pushed a commit
that referenced
this issue
Dec 20, 2018
Closed via #8638 |
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.17
Reproduction link
http://localhost:8080 (any local dev setup)
Steps to reproduce
What is expected?
Devtools extension gets recommended
What is actually happening?
Recommendation only shows for Chrome, not in Firefox
Logic is in https://github.com/vuejs/vue/blob/master/src/platforms/web/runtime/index.js#L51
Twist is that
isChrome
is only used in this one code; so maybe it could be changed tohasCompatibleExtension
and include a Firefox UA detection. Alternatively UA detection can be dropped, so the link is always shown and users can figure out that they might switch browsers to use the devtools.The text was updated successfully, but these errors were encountered: