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:
Andreas Zweili 2021-02-07 11:17:58 +01:00
parent 6e3c4e4a25
commit 09c8d4c357
1 changed files with 2 additions and 4 deletions

View File

@ -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>