I am trying to access a cookie but its returning undefined for the value, and cant find the Issue.
My code looks pretty simple so far:
const token = useCookie('token');
console.log('token', token.value)
token undefined, app.vue:4
When looking into dev tools of my browser, the cookie is set and not expired - does anyone has a idea what's the issue here?
