I'm learning Nuxt.js and I assigned some data to localStorage (using localStorage.getItem() and localStorage.setItem()) which worked great, but I'm getting a warning: Cookie “myCookieName” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute.
After reading about it here, I think I would like to set it to strict, but I have no idea where to actually set it.
Any tips would be highly appreciated. Many thanks!