Vue.js Multiple API Calls: with Promises and Vuex

Описание к видео Vue.js Multiple API Calls: with Promises and Vuex

Based on a few of your comments, improvements on an older Vue+Laravel demo-project from this Youtube channel: if we're doing multiple API calls in the same event, maybe it's better to use JavaScript promises?

And, if we have a few global variables, maybe it makes sense to use Vuex to store them?

Let's try.

Repository: https://github.com/LaravelDaily/Larav...
Original project video:    • Laravel + Vue.js Demo: Filter by Cate...  

- - - -
Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
Enroll in my Laravel courses: https://laraveldaily.teachable.com

Комментарии

Информация по комментариям в разработке