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: {
// future config here if needed
},
});- Set the API key in your environment:
In your .env file:
DOPPLER_API_KEY=your-api-key-hereor as Nuxt public runtime variable:
export default defineNuxtConfig({
runtimeConfig: { public: { DOPPLER_API_KEY: "your-api-key-here" } },
});That’s it — the module will log eligible AI-originated traffic automatically, head to the dashboard on Doppler to see the results.