mirror of https://github.com/Lissy93/dashy.git
🔨 Enable Vue performance tools when in dev mode
This commit is contained in:
parent
b31c44f94d
commit
f243d9b916
|
@ -33,7 +33,10 @@ Vue.use(Toasted, toastedOptions);
|
||||||
Vue.component('v-select', VSelect);
|
Vue.component('v-select', VSelect);
|
||||||
Vue.directive('clickOutside', clickOutside);
|
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
|
// Setup i18n translations
|
||||||
const i18n = new VueI18n({
|
const i18n = new VueI18n({
|
||||||
|
|
Loading…
Reference in New Issue