f-cookie-banner cookie config not working in non-nuxt project
DamianMullins opened this issue · 1 comments
DamianMullins commented
Just testing the f-cookie-banner out in a plain Vue.js project and I'm seeing this error when pressing the accept buttons:
It appears to be caused by the fact we're assuming that this.$cookies
is available in the consuming application.
I think this might be a convention in our Nuxt project, but it isn't in place in some of our other non-nuxt projects?
In our other npm packages, such as OIDC, we are using the js-cookie
npm package. Should we be using that instead? Or providing some sort of fallback?
DamianMullins commented
Fixed in #727.