Menu
×
×
Correct!
Exercise:If a component 'CompOne' has two slots, like this:
How can we, from App.vue, direct the text 'Animals are interesting!' into the slot 'mainSlot' in 'CompOne'?
<slot-comp @(15)>
Animals are interesting!
</slot-comp>
<slot-comp v-slot:mainSlot>
Animals are interesting!
</slot-comp>
<slot-comp #mainSlot>
Animals are interesting!
</slot-comp>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 54 exercises.
Are you sure you want to continue?