Querying the API
Resources - Vuex ORM Axios Plugin
Let's now figure out how to get the data from our API and into Vuex ORM so we can easily render it in our components.
The typical way to do this is to setup Axios and create some service functions.
But since we're using Vuex ORM and we have a RESTful API structure, we can make use of the Axios plugin for Vuex ORM.
Click to load comments...