Open sy6841042 opened 3 years ago
nuxt-link
or router-link
, you should change to use <a>
:
<a :href="item.slug">{{ item.name }}</a>
-Nuxt will load ssr page, it will display the auto ads for you. I have this issue too, but when i change to use <a>
element, auto ads always display. thanks you.
Hi,
We will use Auto Ads in Nuxt.js,i add Vue.use(Ads.AutoAdsense, { adClient: 'YOUR_GOOGLE_AD_CLIENT', isNewAdsCode: true }) in plugins/vue-google-adsense.js , ok? then plugins/vue-google-adsense.js code will be:
import Vue from 'vue' import Ads from 'vue-google-adsense'
Vue.use(require('vue-script2'))
Vue.use(Ads.Adsense) Vue.use(Ads.InArticleAdsense) Vue.use(Ads.InFeedAdsense) Vue.use(Ads.AutoAdsense, { adClient: 'YOUR_GOOGLE_AD_CLIENT', isNewAdsCode: true })
is't ok?
At one time,can we use Auto Ads and Non-Auto Ads?
Thank you !