Reputation: 11
How to store JWT token in VueX without local storage. Does it have an easy way? How do I store tokens?
How to store token and Users or visitors cannot see it
Upvotes: 0
Views: 334
Reputation: 92
you can just commit it using mutation, but once you refresh the page it will gone. thats why Local Storage is needed.
Upvotes: 1