Chapter 15: Sending POST, DELETE, and PUT HTTP Requests in Vue.js with Vuex
In the last chapter, we discussed state management and set up Vuex in our Vue.js app. We managed to write our first action and tried it in our application. However, the CRUD operations using Vuex in our application are not yet complete. In this chapter, we will write the remainder of the CRUD operations with HTTP requests and Vuex involvement.
With that, we will cover the following topics in this chapter:
- Removing a tour list using Axios and Vuex
- Adding a tour list using Axios and Vuex
- Using a non-async action in Vuex
- Removing a tour package using Axios and Vuex
- Adding a tour package using Axios and Vuex
- Updating a tour package using Axios and Vuex