Click in order · Vue.js course · Module 8: Slots & Dynamic Components
Scoped slot syntax
Arrange the code for receiving data from a scoped slot in the parent:
Items to click
- <p>{{ item.name }}</p>
- </ModuleList>
- </template>
- <ModuleList>
- <template #default="{ item }">
You can check the correct answer by solving this task in the CodeWorlds game.