econic / nuxt-cookie-consent

Renderless GDPR compliant cookie handling library
10 stars 0 forks source link

Cannot read property 'name' of undefined #1

Open vvnsrzn opened 3 years ago

vvnsrzn commented 3 years ago

Hi there,

I stumbled upon your component and it looks promising. Nevertheless, I wasn't able to work with.

Nuxt 2.15.7 with Typescript

image

xianbinKit commented 3 years ago

Same here with Nuxt Javascript error code here

    const consentCookieConfig = {
        name: options.consentCookie.name,
        maxAge: options.consentCookie.maxAge,
    }
frossigneux commented 2 years ago

Same error!

boodcode commented 2 years ago

Same... it does not work

hessendscher commented 1 year ago

Same here … I found this project:

https://gitlab.com/broj42/nuxt-cookie-control

which looks similar, if not identical (not sure who was first) but that one worked out of the box.