From f243d9b916d1c99b31c719b018aa3a53c68df78c Mon Sep 17 00:00:00 2001
From: Alicia Sykes <sykes.alicia@gmail.com>
Date: Tue, 21 Dec 2021 19:47:12 +0000
Subject: [PATCH] :hammer: Enable Vue performance tools when in dev mode

---
 src/main.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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({