Closed mzhukovs closed 4 years ago
I tried the following (and then wrapping <InArticleAdsense>
in <ClientOnly>
tag within the template HTML), but it doesn't appear to be working - am I missing something?
components: {
InArticleAdsense: () =>
import("vue-google-adsense/dist/InArticleAdsense.min.js")
.then((m) => m.InArticleAdsense)
.catch(),
},
You can follow this commit: https://github.com/mazipan/gridsome-blog/commit/9e5600092c874a8281d642e8f0460f0e0f48ef3a @mzhukovs
Thanks for this library.
I'm trying to use it with a Gridsome project, and am getting the error below on build - not sure if it's something I can address on my end - if anyone knows a work-around please share.