Modules

nuxt-cookie-consent
nuxt-cookie-consent

Nuxt module for integrating with cookie consent providers with ease

Nuxt Cookie Consent

npm versionnpm downloadsbundle

License

This module aims to provide a simple unified way to interact with cookie providers and implement script loading strategies with Nuxt 3.

  • Simple configuration
  • Reactive state of consents given
  • Plugable and composable API

Providers

This module currently supports the following providers

  • CookieBot
  • CookieInformation

Usage

Install package:

# npm
npm install @weareheavy/nuxt-cookie-consent

# yarn
yarn add @weareheavy/nuxt-cookie-consent

# pnpm
pnpm install @weareheavy/nuxt-cookie-consent

# bun
bun install @weareheavy/nuxt-cookie-consent

Documentation

Please refer to the documentation to learn how to use and implement the module in your application.

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Install dependencies using yarn install
  • Prepare environment yarn dev:prepare
  • Run interactive test using yarn dev

License

Published under the MIT License.