Intro and Preview of Pagination Component Customization
2:17
The per-page-button Slot
6:30
The pagination-button Slot
10:07
Nested Slots
10:45
Pagination Slots Conclusion
1:40
0% done with Advanced Components: Slots IV (Customizable Pagination Component)

Chapter 5 of 5 in Advanced Components: Slots
Nested Slots

Our goal in this video is to put a second pagination bar below the table... without copy/pasting 30+ lines of code!

We do this through Nested Slots - having a top-level slot that goes down several levels in the Component Tree.

This technique is similar to prop-drilling, in that it has a distinct downside, but is still the correct choice in many cases.

What do others think of VueScreencasts?
"Short, precise, step-by-step, beginner-friendly and clear."
—Naty Java
"Thank You :)"
—xof
"Great work man."
—The Nerdy Dev
"👍👍👍👍Great"
—Muhammed Owais
Take your career to the next level