Loading...
Loading...
Error
Oops! Something went wrong
3. How Code Splitting Makes Vue Apps Faster
Speed
Speed
Quality
Quality
Captions
Captions
media loading
Play
Pause
10
Seek backward
Rewind 10s
Play
Pause
Play
Play
Pause
Pause
20
Seek forward
Forward 20s
Mute
Unmute
Volume High
Volume Low
Volume Low
Mute
Mute
Unmute
0:00
0:00
Start casting
Stop casting
Chapters
Chapters
Introduction to Code Splitting
00:00
Code Splitting Pages: Why and When
00:26
Standard Page Loading in Vue
00:38
Implementing Code Splitting for Pages
01:10
Demonstrating Lazy Loading of Pages
01:24
Code Splitting Components Conditionally
02:13
Component Loading Before Code Splitting
02:30
Demonstrating Eager Loading of Components
03:04
Implementing Lazy Loading for Components with defineAsyncComponent
03:45
Configuring defineAsyncComponent
03:57
Demonstrating Lazy Loading of Components
04:13
Recap: Pages and Components Lazy Loading
04:39
Advanced Options for defineAsyncComponent
04:49
Loading and Error Components
05:04
Delay and Timeout Options
05:35
Code Splitting in Vanilla Vue App Summary
05:53
Code Splitting in Nuxt Applications
05:59
Nuxt Pages Code Split by Default
06:02
Nuxt Components Lazy Loading with 'lazy' prefix
06:25
Demonstrating Nuxt Lazy Component Loading
06:46
Best Practices: When NOT to Lazy Load
06:59
Performance Issues with Nested Lazy Loading (Waterfall Effect)
07:13
Trade-offs of Code Splitting
07:31
Next Lesson: Pre-fetching Lazy Loaded Chunks
07:56
Enable captions
Disable captions
Enable Captions
Enable captions
Disable Captions
Disable captions
Settings
Settings
Settings
Enter fullscreen mode
Exit fullscreen mode
Fullscreen
Enter fullscreen
Exit Fullscreen
Exit fullscreen