تماشای این درس نیاز به اشتراک حرفه‌ای دارد.

Extending PWA Functionality0:33

Where we could make an API request to an external server whenever the user came back online. If you wanted to expand on that kind of functionality further, you could run this setInterval whenever the Vue component loaded up, and then just check for the isOffline data attribute in the state to determine if you actually want to reach that external server or not. Additionally, sticking with this application in particular, instead of swapping out an active note data attribute, you could install Vue Router instead and have each of these notes in a particular route. More PWA stuff would be like customizing the icons that display whenever we install this icon or the favicon at the top.

What we builtWhat we learnedWhat we can add to this application

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟