0👍
It seems to be enough to call the api in the created lifecycle and define the parameters necessary for calling the api in the component created lifecycle.
When the api call is completed by adding a loading component, it would be neat to remove the loading component and render the data.
- [Vuejs]-What is a good way to call a function that makes an axios request using information from within a v-for?
- [Vuejs]-VueJs Like and Dislike buttons with Vfor
Source:stackexchange.com