Vue Slots Simplified

LearnVue
LearnVue
54.2 هزار بار بازدید - 3 سال پیش - Slots are another way in
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-com...
named slots - https://learnvue.co/2021/04/using-vue...
scoped slots - https://learnvue.co/2021/03/when-why-...

IMAGES USED
placeholder image - https://i.stack.imgur.com/y9DpT.jpg
cute pic of me :) - https://learnvue.co/wp-content/upload...

FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS
https://learnvue.co/vue-3-essentials-...

follow me on twitter:

Twitter: mattmaribojoc


🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - https://go.learnvue.co/vueschool
3 سال پیش در تاریخ 1400/02/14 منتشر شده است.
54,289 بـار بازدید شده
... بیشتر