You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is just to clarify if devtools needs to work or not in prod. mode.
Questions that we need to awnser:
Why disable devtools in prod. mode?
Today we can disable in prod. mode but there is a bypass with a single variable, this means that the API of devtools is loaded every time, is this correct?
The text was updated successfully, but these errors were encountered:
Vue3 change the devtools logic flow, look for this comment #1308 (comment)
Summary
Vue2 have this problem, Vue3 have no problem. And I also don't know why we need disbale devtools in production, React didn't do it but nothing happened.
Today we can disable in prod. mode but there is a bypass with a single variable, this means that the API of devtools is loaded every time, is this correct?
me: If user don't install vue-devtools, this check will failed, don't need worry it。If you care about security just remember Frontend code is untrustworthy , Backend need do strictly auth check
Version
6.0.0-beta.1
Browser and OS info
Firefox
Steps to reproduce
https://codedharma.com/posts/force-vue-devmode/
Tested in various vue apps without
devetools = true
What is expected?
Don't enable devtools
What is actually happening?
devtools works
This issue is just to clarify if devtools needs to work or not in prod. mode.
Questions that we need to awnser:
The text was updated successfully, but these errors were encountered: