×
×
Correct!
When a text is provided between the start tag and end tag of a component like this:
The text provided can be received in the component using slots, like this:
<template>
<div>
<p>CompOne.vue</p>
@(14)
</div>
</template>
<template>
<div>
<p>CompOne.vue</p>
<slot></slot>
</div>
</template>
<template>
<div>
<p>CompOne.vue</p>
<slot/>
</div>
</template>
<template>
<div>
<p>CompOne.vue</p>
<slot />
</div>
</template>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 54 exercises.
Are you sure you want to continue?