Vue 2.6 Slots - Basic, Named, and Scoped Slots - Making better, more flexible Components

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. 0:00 Start 0:57 Slots vs Props 5:00 Basic Slots 8:28 Named Slots 14:39 Scoped Slots 18:25 Conclusion The “Building a VueJS Screencasting A
Back to Top