filmov
tv
Get Started with Nuxt: Nuxt Auto Components and Lazy Loading

Показать описание
In a previous lesson, we used the fetch hook to fetch our list of planets on the index page. Instead of duplicating our code, in this lesson we'll create a component instead. The fetch hook can be used in components whereas asyncData can only be used on page components.
00:00 Introduction
00:33 Create new component
02:37 How to lazy load your component
04:01 Conclusion
---
00:00 Introduction
00:33 Create new component
02:37 How to lazy load your component
04:01 Conclusion
---