ember-learn / ember-learn/guides-source

"Passing Content to Components with {{yield}}" Section doesn't have a {{yield}} example

Open
#1,739 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
161
Forks
512
Avg merge
4d 9h
Merged PRs (30d)
4

Description

https://guides.emberjs.com/release/tutorial/part-1/component-basics/#toc_passing-content-to-components-with-yield

Hi 👋

I'm new to ember and was going through the Tutorial when I got to the "Passing Content to Components with {{yield}}" section. This section doesn't seem to have an example definition of the component to show how it uses the `{{yield}}` block. Therefore, while following this guide, I still don't really know from this section how `{{yield}}` works.

If someone could give an example that would be great.

I would write a pull request myself but I'm pretty new to Ember so I'm not really sure how I would structure it.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.