mirror of
				https://github.com/Lissy93/dashy.git
				synced 2025-10-31 11:24:09 +01:00 
			
		
		
		
	🔨 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.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({ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user