Skip to content

Instantly share code, notes, and snippets.

@mmichealjroberts
Created May 4, 2020 08:44
Show Gist options
  • Save mmichealjroberts/40d800e9ed85232ad94e21c1b6cf304c to your computer and use it in GitHub Desktop.
Save mmichealjroberts/40d800e9ed85232ad94e21c1b6cf304c to your computer and use it in GitHub Desktop.
Disbaling Vue.js devtools in Production
const PRODUCTION = process.env.NODE_ENV === "production";
if (PRODUCTION) {
Vue.config.devtools = false
Vue.config.debug = false
Vue.config.silent = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment