Browse Source

Add build module for google analytics

pull/341/head
Hironsan 5 years ago
parent
commit
1c2b6b0cf4
3 changed files with 19 additions and 0 deletions
  1. 6
      frontend/nuxt.config.js
  2. 1
      frontend/package.json
  3. 12
      frontend/yarn.lock

6
frontend/nuxt.config.js

@ -55,6 +55,12 @@ export default {
'@nuxtjs/axios',
'@nuxtjs/eslint-module'
],
buildModules: [
['@nuxtjs/google-analytics', {
id: 'UA-125643874-2'
}]
],
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options

1
frontend/package.json

@ -31,6 +31,7 @@
"devDependencies": {
"@nuxtjs/eslint-config": "^0.0.1",
"@nuxtjs/eslint-module": "^0.0.1",
"@nuxtjs/google-analytics": "^2.2.1",
"@vue/test-utils": "^1.0.0-beta.27",
"axios-mock-adapter": "^1.17.0",
"babel-core": "7.0.0-bridge.0",

12
frontend/yarn.lock

@ -1119,6 +1119,13 @@
dependencies:
eslint-loader "^2.1.2"
"@nuxtjs/google-analytics@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@nuxtjs/google-analytics/-/google-analytics-2.2.1.tgz#c5bcf486fe04168d4bb044e6f3fe317d7a3a8d50"
integrity sha512-li2Xd9G1v6+wdAiAM+G7USTrQ+/ND/fmf02cKs5IRLbKxba+RHDePKu4s5kvWyrgeczgZRaL+Tm4s24mGDYS6g==
dependencies:
vue-analytics "^5.17.2"
"@nuxtjs/proxy@^1.3.3":
version "1.3.3"
resolved "https://registry.yarnpkg.com/@nuxtjs/proxy/-/proxy-1.3.3.tgz#3de3d9f073e8e57167168100940be2a824a220e0"
@ -9780,6 +9787,11 @@ vm-browserify@^1.0.1:
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.0.tgz#bd76d6a23323e2ca8ffa12028dc04559c75f9019"
integrity sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw==
vue-analytics@^5.17.2:
version "5.17.5"
resolved "https://registry.yarnpkg.com/vue-analytics/-/vue-analytics-5.17.5.tgz#4c03806755132801d4469e220cbf82353c2252db"
integrity sha512-BIrnsHy4nf82htNofSnm4B2SaWNlDDmBZsCq0YhSdWLk203qSXBD+z1RrGrE9KAH7YcbH9HE+aBCV9eXWBC02g==
vue-chartjs@^3.4.2:
version "3.4.2"
resolved "https://registry.yarnpkg.com/vue-chartjs/-/vue-chartjs-3.4.2.tgz#0323e6a99a10a68f38d426899c3994f48596fd23"

Loading…
Cancel
Save