Put in order · Vue.js course · Module 8: Slots & Dynamic Components
Slot rendering stages
Arrange the slot rendering stages from definition to display:
Items to put in order
- Vue replaces <slot> with the passed content
- The child component defines <slot> in its template
- The content is rendered at the slot's position
- The parent component passes content between the child's tags
You can check the correct answer by solving this task in the CodeWorlds game.