Skip to content

Not working with runtime config #24

Description

@intergalactisch

Hi! Currently, installing the module via runtime config is not working.

I am using Docker containers to run the app, and I need to be able to make the cookiebot-id configurable for multiple environments. With this, I want to use runtime config to be able to set the variables on runtime, as explained here: https://nuxt.com/docs/guide/going-further/runtime-config.

Is this something you can add to the package?

Activity

  1. bnachtweh commented on Jul 8, 2025

    @bnachtweh
    Collaborator

    Hey! Sounds like a good addition. I'll add it to the backlog.

  2. self-assigned this
    on Jul 8, 2025
  3. added theissue type on Jul 8, 2025
  4. linked a pull request that will close this issueProject rework #31on Aug 2, 2026
  5. bnachtweh commented on Aug 4, 2026

    @bnachtweh
    Collaborator

    @intergalactisch you can now use runtime config to set cookiebot ID: https://vue-nuxt-cookiebot.netlify.app/nuxt/env#using-nuxt-runtime-config

    Make sure to update to the latest release and please note that cookieBotId has been renamed to cookiebotId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions