Two MIT Nuxt 4 modules add cookie consent banner and localhost debug panel
A developer has released two open-source MIT-licensed modules for Nuxt 4. The first, nuxt-cmpkit, loads the CMPKit consent widget, a cookie banner and consent management tool, and can be configured through settings or an environment variable for the API key. It also provides a footer component and a composable that exposes consent state and a method to open settings. The second module, nuxt-cmpkit-debug, offers a localhost debug panel for working with the consent setup during development. Installation is available through the Nuxt CLI, and the developer has published a guide, a live demo, and source code on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in