Google AdSense

This commit is contained in:
LittleSheep 2025-03-24 23:17:41 +08:00
parent d544eeccb6
commit c6ccdd83a8
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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",