Coding task · Vue.js course · Module 8: Slots & Dynamic Components

Practice: Scoped slot

Create a list of station modules where the parent decides how to render each element.

Task

Create a ModuleList component that iterates over a list and passes each item through a scoped slot. The parent renders the item in its own way.