lesson 113: remove the template tags
only allowed when the content for the slot only goes to the default slot.
This commit is contained in:
parent
6e3c4e4a25
commit
09c8d4c357
|
@ -7,10 +7,8 @@
|
|||
:info-text="activeUser.description"
|
||||
:role="activeUser.role"
|
||||
></user-info>
|
||||
<course-goals>
|
||||
<template #default="slotProps">
|
||||
<h2>{{ slotProps.item }}</h2>
|
||||
</template>
|
||||
<course-goals #default="slotProps">
|
||||
<h2>{{ slotProps.item }}</h2>
|
||||
</course-goals>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Reference in New Issue