Integrations
Nuxt
Doppler SDK Nuxt integration
Once you have created an account on Doppler and created an API Key, you can proceed with the next steps.
Installation
Pick your package manager and install the SDK.
Nuxt configuration
Edit nuxt.config.ts
and add the following code:
- Append
@askdoppler/nuxt
to themodules
array like so:
nuxt.config.ts
Try to place it as early as possible in the modules
array to ensure the
middleware is prioritized.
- Add the following configuration object to your
nuxt.config.ts
file:
nuxt.config.ts
Test
To test that your setup is correctly working you can try asking ChatGPT or Perplexity to search for your websites URL. Data should start showing up right after your request.