[Vuejs]-Nuxt 3 auth token in localStorage

0👍

Axios and @nuxtjs/axios is not recommended to use with Nuxt 3

Use useFetch() – it should solve your problem.

Read about it here:
https://nuxt.com/docs/getting-started/data-fetching/#usefetch

0👍

Pinia storage is not persisted. Use local storage to store the data you need to persist.

Checkout this link

Leave a comment