Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Safari DevTools active on production site when disabled in main.js #632
Browser and OS info
Safari 11.0.2, Mac OS 10.13.2
Steps to reproduce
Specify in the main.js file that vue-devtools should be disabled in production mode:
What is expected?
What is actually happening?
The dev tools are still available and I can see all the components and state, even in production.
When a user visits a site in development mode then then later visits the production version in the same browser session, the devtools will appears. However, the data that appears is not actually data from the production version, but persistent data from the earlier visit to the development version.
I think this is probably still confusing and therefore worth fixing so I won't close this, but the contributor may disagree. Perhaps something in the docs to highlight this bug would save others some debug time?