Created
May 4, 2020 08:44
-
-
Save mmichealjroberts/40d800e9ed85232ad94e21c1b6cf304c to your computer and use it in GitHub Desktop.
Disbaling Vue.js devtools in Production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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