NuxtN
Nuxt13mo ago
FearArt

useCookie returns undefined

onMounted(() => {
  fetchUsers()
  console.log(useCookie('token').value)
})

my useCookie here always returns undefined though the cookie is present
image.png
Was this page helpful?