Skip to main content
Coming SoonNative Vue.js integration examples (Vue 3 Composition API, <AdSlot> component, Vue Router support) are currently being written and will be published shortly.

What will be covered

  • Installation via npm
  • AdSlot.vue component (Composition API)
  • Initializing AdXensor in main.ts / App.vue
  • Vue Router — re-filling slots on route change
  • Nuxt.js (SSR) setup
  • Environment variable reference (VITE_ADXENSOR_SITE_ID)

In the meantime — CDN snippet

You can use the CDN snippet in any Vue app by adding it to your index.html:
Then place slots directly in your Vue templates:
With the CDN approach the SDK fills slots once after page load. For SPA route changes, use the npm package (documentation coming soon).

Basic npm usage (preview)

Until the full guide is ready, here is a minimal working pattern:

Notify me when available

Email support@adxensor.com to be notified when the full Vue.js guide is published.