Vue Slots Simplified

Vue Slots Simplified

60.910 Lượt nghe
Vue Slots Simplified
Slots are another way in Vue for a component to inject content into a child component. This does this using template code. In this video, we'll take a look at the basics of Vue slots, using scoped slots to pass data between components, named slots, and so much more. COMPANION ARTICLES general slot overview - https://learnvue.co/2019/12/using-component-slots-in-vuejs%e2%80%8a-%e2%80%8aan-overview/ named slots - https://learnvue.co/2021/04/using-vue-named-slots-to-create-multiple-template-slots/ scoped slots - https://learnvue.co/2021/03/when-why-to-use-vue-scoped-slots/ IMAGES USED placeholder image - https://i.stack.imgur.com/y9DpT.jpg cute pic of me :) - https://learnvue.co/wp-content/uploads/2021/05/Screen-Shot-2021-05-04-at-3.20.28-PM-300x280.png FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS https://learnvue.co/vue-3-essentials-cheatsheet/ follow me on twitter: https://twitter.com/mattmaribojoc 🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - https://go.learnvue.co/vueschool