I built two small MIT modules for Nuxt 4:
• nuxt-cmpkit: loads the CMPKit consent widget (cookie banner / CMP). Key via config or NUXT_PUBLIC_CMPKIT_API_KEY, plus a for the footer and a useCmpkit() composable (consent state, openSettings).
• nuxt-cmpkit-debug: dev-only panel on localhost. Shows the config, what the widget loads, performance, consent state and cookies. The button is draggable (position saved), the dot is green when everything is OK, and there are reset-cookies buttons. In production it ships a stub, so no code reaches the bundle.
npx nuxt module add nuxt-cmpkit
npx nuxt module add nuxt-cmpkit-debug
Guide + live demo of the panel and the banner: https://cmpkit.com/nuxt
Repos: https://github.com/kendrick-k/nuxt-cmpkit and https://github.com/kendrick-k/nuxt-cmpkit-debug


