-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
How I can turn off the "vue-devtools Detected" message on the console? #685
Comments
Are you using a non-production build? This message won't be shown if you build your app in production mode. Else try |
|
If I do |
Is there a specific reason you don't want that message in the console log? |
Just looked at the code. This message is always shown when devtools connect to Vue and can't be disabled |
If you really want to have a clean log then the only thing you can do is to clear the console yourself by calling |
I guess there is no reason for that message. Yeah I also want clean console instead of useless message like Vue Devtool is connected etc.. CMD + L is currently what we are doing but every refresh page it sucks :( |
Might be a good idea to let disable/enable this as an option to settings. See #547 |
This is very annoying behavior. Should be able to disable/enable. |
I still fail to see how is this "very annoying behavior" but hey. It's not a priority anyway. |
I join the plenum: would like to not be distracted by that, if I wish, so please offer a little toggle to disable that message - thank you! |
Please disable all console logs by default. It's annoying. |
Its too annoying to see vue tools detected when we already know we are using vue. So how is this useful feature at any means? What is use case of showing Vue Devtool detected? It is not going to be shown in production anyway then why show it in local development. We prefer clean console :) |
This message is annoying (and redundant) given we have the vue-devtools icon in the plugin bar. |
For the moment a workaround would be to right-click the line in question in the console and choose "Don't show any messages from Vue Devtools anymore" (or whatever the correct text might be...) |
Selenium driving Chrome headless which is a part of our test suite spits out the related message to download Vue DevTools in the middle of my test runs, obscuring legitimately concerning console messages that might occur during development test runs. Vue DevTools doesn't even make sense in that context, making it doubly annoying. Will the PR above fix both problems at once? |
Shoot ... I wasn't paying attention closely enough. It stands to reason if Chrome driven by Selenium for my tests doesn't even load Vue DevTools (even though my usual development profile for Chrome has it loaded), this is Vue's problem, not vue-devtool's. I need a different solution to my superficially similar but otherwise unrelated problem. Thanks. |
Why config option? This message is practically useless... Is there any other purpose of this besides someone showing off applying CSS in Chrome console? |
Remember that time you released a development build into production by accident? If you don’t you haven’t been working on the web that long. This feature is important because if you see it in production then you know something has gone wrong. |
You clean console folks should be more annoyed by all the CSP violation errors that get thrown by the dev tools. Those really pollute the console. If you aren’t getting those then you should be worried more about the poor CSP on your website than an informational console log. |
CSP is another issue not related with this. In production who open devtool for vue as it is already disabled. So this message is practically useless. It seems like advertisement of vue only ... React devtool never shows the message. |
|
#685 (#811) * feat: Add a setting for "vue-devtools Detected Vue" console log, closes #685 * Fix check for cold storage * fix: use SharedData * refactor: invert setting Co-authored-by: Guillaume Chau <[email protected]>
vuejs#685 (vuejs#811) * feat: Add a setting for "vue-devtools Detected Vue" console log, closes vuejs#685 * Fix check for cold storage * fix: use SharedData * refactor: invert setting Co-authored-by: Guillaume Chau <[email protected]>
Version
4.1.4
Browser and OS info
chrome 66
Steps to reproduce
Just install the devtools and open a vue app.
What is expected?
I want to turn off the message "vue-devtools Detected" on the console.
What is actually happening?
I can't find any option to turn off this message.
The text was updated successfully, but these errors were encountered: