Place Content in Components with Vue Slots

Share this video with your friends

Send Tweet

Vue's slots enable you to define where content of a component should land when you define the content inside of a parent component. You can also name slots to arrange the elements however you'd like and allow your component to build it's own content around the content that will be placed.

Brad Tittle
Brad Tittle
~ 5 years ago

Excellent.