mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-22 15:56:15 -04:00
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 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue