Browse Source

Set development variables according to development environment

production
Yiğit Çolakoğlu 4 years ago
parent
commit
b1b3850a6c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/main.js

+ 4
- 4
src/main.js View File

@ -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,


Loading…
Cancel
Save