Photo by WrongTog on Unsplash

Lazy Load Components in Vue with defineAsyncComponent

Using Vue 3’s defineAsyncComponent feature lets us lazy load components — meaning they’re only loaded when they’re needed.

Matt Maribojoc
6 min readJun 28, 2021

--

Using Vue 3’s defineAsyncComponent feature lets us lazy load components. This means that they're only loaded from the server when they're needed.

--

--