- Learn about
<slot>
tag - Learn about named Slots
- Server :
npm run start-06
- Tests :
npm test -- -t 06
- components/stencil-users/stencil-users.tsx
- components/stencil-card/stencil-card.tsx
The goal is to enable named slots in stencil-card
then use them in stencil-users
- create three named slots:
title
,subtitle
andcontent
in the right position (see comments in the render method)
- Loop through users and use
stencil-card
named slots to display user'sname
,location
andbio
(see comments in the render method)