diff --git a/src/main.js b/src/main.js index 8b8fac3b..86fc9863 100644 --- a/src/main.js +++ b/src/main.js @@ -33,7 +33,10 @@ Vue.use(Toasted, toastedOptions); Vue.component('v-select', VSelect); Vue.directive('clickOutside', clickOutside); -Vue.config.productionTip = false; // Disable annoying console message +// When running in dev mode, enable Vue performance tools +const isDevMode = process.env.NODE_ENV === 'development'; +Vue.config.performance = isDevMode; +Vue.config.productionTip = isDevMode; // Setup i18n translations const i18n = new VueI18n({