📈 Add gtag.js
This commit is contained in:
parent
19ae941b54
commit
7537b1f832
@ -104,15 +104,19 @@ export default defineNuxtConfig({
|
||||
"@pinia/nuxt",
|
||||
"@nuxtjs/i18n",
|
||||
"nuxt-schema-org",
|
||||
"nuxt-gtag",
|
||||
(_options, nuxt) => {
|
||||
nuxt.hooks.hook("vite:extendConfig", (config) => {
|
||||
// @ts-expect-error
|
||||
config.plugins.push(vuetify({ autoImport: true }))
|
||||
})
|
||||
},
|
||||
//...
|
||||
],
|
||||
|
||||
gtag: {
|
||||
id: 'G-ZFJ7RX0JXF'
|
||||
},
|
||||
|
||||
vite: {
|
||||
vue: {
|
||||
template: {
|
||||
|
@ -18,6 +18,7 @@
|
||||
"@pinia/nuxt": "^0.5.3",
|
||||
"feed": "^4.2.2",
|
||||
"nuxt": "^3.12.4",
|
||||
"nuxt-gtag": "^2.1.0",
|
||||
"nuxt-schema-org": "^3.3.9",
|
||||
"pinia": "^2.2.1",
|
||||
"rehype-sanitize": "^6.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user