Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

About the course

In this course, you'll learn how to use slots and scoped slots to create flexible and reusable Vue.js components.

Slots allow us to pass components and HTML to components, giving us greater control of the appearance than what we get with props.

Slots do not replace props. The two features have different purposes.

During the course, you'll learn:

  • When and how to use slots
  • What scoped slots are
  • How to work with dynamic named components
  • How to compose components with reusable component patterns
1

Slots

3 lessons • 11 min
2

Scoped Slots

0 lessons • 0 min
icon
Create a User List Component
Coming Soon
icon
Fake Scoped Slots with Functions
Coming Soon
icon
Refactor User List Component Using Slots
Coming Soon
icon
Passing Data to the Parent Using Scoped Slot
Coming Soon
icon
Using Scoped Slots with Functions
Coming Soon
icon
Composing Components
Coming Soon
icon
Dynamic Named Slots
Coming Soon