The simplest way is using localstorage to save your token.
But localStorage is client-side. How can i save it from server nuxtjs?
You can use this lib and use cookie for saving the info within nuxt server
can you give an example using lib or project using lib? tks you
You can see this doc
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The simplest way is using localstorage to save your token.
But localStorage is client-side. How can i save it from server nuxtjs?
You can use this lib and use cookie for saving the info within nuxt server
can you give an example using lib or project using lib? tks you
You can see this doc