Vue 2.6 Slots6 videos, 20:04 total runtime
Components with slots are way more flexible than props-only components.
This tutorial shows how to use VueJS’s slots feature, including how to use named slots and scoped slots (with slot props). We use the Vue 2.6 syntax, which is significantly different than the deprecated Vue 2.5 syntax. The Vue 3.0 syntax may have some minor changes, but should be fairly similar.