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?
"I like your way of teaching. I just started a a web dev YT channel too and this is inspiring."
—Duane Creates
"great 👍"
—Paul Hacker
"Your series has really helped... even for seasoned developers!"
—D Durham
"Woohoo... keep it up!"
—fazzy akamello
Take your career to the next level