YUNOVA · Vue.js · Module 10: UI and UX in Vue
Async components and Suspense
Async components and Suspense
Key points
- defineAsyncComponent loads a component only when it is needed.
- Suspense shows fallback content while async parts load.
- This keeps the first page load smaller.