From b1b3850a6c4698c5f1c150d42e0a4b6b15bee71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Wed, 27 Jan 2021 13:51:30 +0300 Subject: [PATCH] Set development variables according to development environment --- src/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index 52c6d3f..dc1a0aa 100644 --- a/src/main.js +++ b/src/main.js @@ -13,10 +13,10 @@ const options = { Vue.use(Toast, options); -//Production variables -//Vue.config.productionTip = false -//Vue.config.devtools = true -//Vue.config.performance = true +//Devtools variables +Vue.config.performance = process.env.NODE_ENV !== 'production' +Vue.config.development = process.env.NODE_ENV !== 'production' +Vue.config.productionTip = process.env.NODE_ENV !== 'production' new Vue({ router,