fix: added router in vue analytics
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
		
							parent
							
								
									a110a6b212
								
							
						
					
					
						commit
						e5ffb4b946
					
				| @ -1,8 +1,10 @@ | ||||
| import Vue from 'vue' | ||||
| import VueAnalytics from 'vue-analytics' | ||||
| import router from "../router"; | ||||
| 
 | ||||
| if(process.env.VUE_APP_GANALYTICS){ | ||||
|     Vue.use(VueAnalytics, { | ||||
|         id: process.env.VUE_APP_GANALYTICS | ||||
|         id: process.env.VUE_APP_GANALYTICS, | ||||
|         router | ||||
|     }) | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user