diff --git a/nuxt.config.ts b/nuxt.config.ts index cb2f6f6..239bb56 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -159,6 +159,12 @@ export default defineNuxtConfig({ "nuxt-schema-org", "@vueuse/motion/nuxt", "nuxt-umami", + [ + "@nuxtjs/google-adsense", + { + id: "ca-pub-9386575057902635", + }, + ], (_options, nuxt) => { nuxt.hooks.hook("vite:extendConfig", (config) => { // @ts-expect-error diff --git a/package.json b/package.json index f01652e..4070ebd 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@nuxt/content": "^2.13.4", "@nuxt/image": "^1.9.0", "@nuxt/kit": "^3.16.0", + "@nuxtjs/google-adsense": "^3.0.0", "@nuxtjs/i18n": "^8.5.6", "@nuxtjs/sitemap": "^6.1.5", "@octokit/rest": "^21.1.1",