File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1515 "bootstrap-vue" : " ^2.21.2" ,
1616 "sass" : " ^1.34.1" ,
1717 "sass-loader" : " ^12.0.0" ,
18- "vue" : " ^2.5.21"
18+ "vue" : " ^2.5.21" ,
19+ "vue-gtag" : " 1.16.1"
1920 },
2021 "devDependencies" : {
2122 "@vue/cli-plugin-babel" : " ^3.3.0" ,
Original file line number Diff line number Diff line change 11// The Vue build version to load with the `import` command
22// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
33import Vue from 'vue'
4+ import VueGtag from 'vue-gtag'
45import App from './App'
56import {
67 AlertPlugin ,
@@ -20,6 +21,12 @@ import {
2021import 'bootstrap/dist/css/bootstrap.css'
2122import 'bootstrap-vue/dist/bootstrap-vue.css'
2223
24+ if ( process . env . VUE_APP_GOOGLE_ANALYTICS_ID ) {
25+ Vue . use ( VueGtag , {
26+ config : { id : process . env . VUE_APP_GOOGLE_ANALYTICS_ID }
27+ } )
28+ }
29+
2330Vue . config . productionTip = false
2431
2532Vue . use ( AlertPlugin )
Original file line number Diff line number Diff line change @@ -12540,6 +12540,11 @@ vue-functional-data-merge@^3.1.0:
1254012540 resolved "https://registry.yarnpkg.com/vue-functional-data-merge/-/vue-functional-data-merge-3.1.0.tgz#08a7797583b7f35680587f8a1d51d729aa1dc657"
1254112541 integrity sha512-leT4kdJVQyeZNY1kmnS1xiUlQ9z1B/kdBFCILIjYYQDqZgLqCLa0UhjSSeRX6c3mUe6U5qYeM8LrEqkHJ1B4LA==
1254212542
12543+ 12544+ version "1.16.1"
12545+ resolved "https://registry.yarnpkg.com/vue-gtag/-/vue-gtag-1.16.1.tgz#edb2f20ab4f6c4d4d372dfecf8c1fcc8ab890181"
12546+ integrity sha512-5vs0pSGxdqrfXqN1Qwt0ZFXG0iTYjRMu/saddc7QIC5yp+DKgjWQRpGYVa7Pq+KbThxwzzMfo0sGi7ISa6NowA==
12547+
1254312548vue-hot-reload-api@^2.3.0:
1254412549 version "2.3.1"
1254512550 resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2"
You can’t perform that action at this time.
0 commit comments