Skip to content

Commit

Permalink
[DOCS beta] remove component nesting docs
Browse files Browse the repository at this point in the history
This feature is only enabled on canary
  • Loading branch information
chancancode committed Mar 28, 2019
1 parent 0270001 commit 2f8b8ba
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions packages/@ember/-internals/glimmer/lib/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,6 @@ export const BOUNDS = symbol('BOUNDS');
<p class='signature'>Out of office this week</p>
```
## File System Nesting
Components can be nested inside sub-folders for logical groupping. For
example, if we placed our template in
`app/templates/components/person/short-profile.hbs`, we can invoke it as
`<Person::ShortProfile />`:
```app/templates/application.hbs
<Person::ShortProfile @person={{this.currentUser}} />
```
Or equivalently, `{{person/short-profile}}`:
```app/templates/application.hbs
{{person/short-profile person=this.currentUser}}
```
## Yielding Contents
You can use `yield` inside a template to include the **contents** of any block
Expand Down

0 comments on commit 2f8b8ba

Please sign in to comment.