Package Exports
- @askdoppler/nuxt
Readme
@askdoppler/nuxt
Nuxt 3 module for Doppler AI SEO detection and logging.
Usage
- Install:
bun add @askdoppler/nuxt @askdoppler/core
yarn add @askdoppler/nuxt @askdoppler/core
npm install @askdoppler/nuxt @askdoppler/core- Add to your nuxt.config.ts:
export default defineNuxtConfig({
modules: ["@askdoppler/nuxt"],
doppler: {
apiKey: "your-api-key-here",
},
});- Set the API key in your environment:
In your .env file:
DOPPLER_API_KEY=your-api-key-hereThat’s it — the module will log eligible AI-originated traffic automatically, head to the dashboard on Doppler to see the results.