File tree Expand file tree Collapse file tree 3 files changed +674
-323
lines changed Expand file tree Collapse file tree 3 files changed +674
-323
lines changed Original file line number Diff line number Diff line change 12
12
"core-js" : " ^3.6.5" ,
13
13
"validator" : " ^13.1.1" ,
14
14
"vue" : " ^2.6.10" ,
15
+ "vue-gtag" : " ^2.0.1" ,
15
16
"vue-router" : " ^3.3.4" ,
16
17
"vuetify" : " ^2.3.4" ,
17
18
"webpack" : " ^4.43.0"
21
22
"@vue/cli-plugin-eslint" : " ~4.5.2" ,
22
23
"@vue/cli-service" : " ~4.5.2" ,
23
24
"@vue/eslint-config-airbnb" : " ^5.1.0" ,
25
+ "@vue/shared" : " ^3.4.32" ,
24
26
"@vue/test-utils" : " ^1.0.3" ,
25
27
"babel-eslint" : " ^10.0.1" ,
26
28
"css-loader" : " ^4.2.2" ,
Original file line number Diff line number Diff line change 1
1
import Vue from 'vue' ;
2
+ import VueGtag from 'vue-gtag' ;
2
3
import App from './App' ;
3
4
import router from './plugins/router' ;
4
5
import vuetify from './plugins/vuetify' ;
5
6
6
7
Vue . config . productionTip = false ;
7
8
// Vue.prototype.$log = console.log;
8
9
10
+ Vue . use ( VueGtag , {
11
+ // The G-tag is not a secret and is available to view by the public
12
+ config : { id : 'G-3D5099EXGN' } ,
13
+ } ) ;
14
+
9
15
new Vue ( {
10
16
router,
11
17
vuetify,
You can’t perform that action at this time.
0 commit comments