Put in order · Vue.js course · Module 8: Slots & Dynamic Components
Scoped slot - passing data
Arrange the code for passing data through a scoped slot in the child:
Items to put in order
- :item="currentItem"
- <slot
- />
- :index="i"
You can check the correct answer by solving this task in the CodeWorlds game.