How to:
1. Create a Vue Login Component
2. Use a Vuex Action with Axios and Post to an API Endpoint
3. Receive and store an Access Token
4. Add an Authorization Header with Access Token to Axios requests
5. Use a Vuex Action to retrieve user information
6. Use a Vuex Mutation to set the state of a user object
7. Retrieve the state from Vuex in our application
There are some pre-configuration steps I completed prior to this video. If you'd like to see those steps:
• Setup Vuex in a Laravel Project
Resources:
https://vuex.vuejs.org/