Skip to content

Commit

Permalink
Feat: Added Adsense integration
Browse files Browse the repository at this point in the history
  • Loading branch information
gdjohn4s committed Jun 6, 2024
1 parent 44549e2 commit 93172b5
Show file tree
Hide file tree
Showing 3 changed files with 707 additions and 6 deletions.
9 changes: 6 additions & 3 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ export default defineNuxtConfig({
'nuxt-simple-sitemap',
'nuxt-vue3-google-signin',
[
'@nuxtjs/robots',
'@nuxtjs/robots',
{ configPath: '~/config/robots.config' }
]
],
['@nuxtjs/google-adsense', {
id: import.meta.env.VITE_ADSENSE_CLIENT_ID || "AD_ID"
}]
],
googleSignIn: {
clientId: import.meta.env.VITE_CLIENT_ID || "GOOGLE_CLIENT_ID",
Expand Down Expand Up @@ -71,7 +74,7 @@ export default defineNuxtConfig({
},
css: [
'~/assets/styles/bootstrap.scss',
'~/assets/styles/main.css',
'~/assets/styles/main.css',
'~/assets/styles/normalize.css',
'~/assets/styles/animations.scss',
'@fortawesome/fontawesome-svg-core/styles.css'
Expand Down
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@fortawesome/free-brands-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/vue-fontawesome": "^3.0.3",
"@nuxtjs/google-adsense": "^3.0.0",
"@nuxtjs/robots": "^3.0.0",
"@popperjs/core": "^2.11.7",
"axios": "^1.3.5",
Expand Down
Loading

0 comments on commit 93172b5

Please sign in to comment.