Configuration
Learn how to configure Docus.
Minimal Module Configuration
export default defineNuxtConfig({
  ...
  cookieFirst: {
      apiKey: "YOUR_API_KEY", //recommended via .env File
  }
  ...
})
| Key | Type | Default | Description | 
|---|---|---|---|
apiKey | string | null | The API Key for your Cookie First Banner | 
host | string | null | The website host for your Cookie First Banner (e.g "my-domain.com") | 
stealthMode | boolean | false | Deactivates the banner and only enables cookie rendering component | 
silentMode | boolean | false | Deactivates all browser/console information | 
language | string | null | ISO-639-1 Lang code for the banner language. If no langauge is set, the browser language is used. | 
resetTabIndex | boolean | false | Resets the Tab Index of all banner elemments to zero (tabindex=0 | Default is tabindex=1) Useful if you need to get some more lighthouse accessibily score points. | 
useEuropeanCDN | boolean | true | If the European CDN should be used. If set to false, the global CDN of CookieFirst is used. | 
sites | Array | null | Array of site configurations for multi-domain setups. Each site object supports the same options as in single domain setup (see above). |