Repository navigation
Convert routing section to route components - #2118
Conversation
✅ Deploy Preview for ember-guides ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| <h1>Posts</h1> | ||
| {{!-- Display posts and other content --}} | ||
| {{outlet}} | ||
| ```handlebars {data-filename=templates/posts.gjs} |
There was a problem hiding this comment.
Still in draft I see, but just quickly noticed this should be gjs instead of handlebars for all code blocks.
kategengler
left a comment
There was a problem hiding this comment.
There were a few missed spots.
I also think there needs to be a general introduction / explanation that route templates are components (cross-linking to component docs) with special arguments @model and @controller (see https://rfcs.emberjs.com/id/1046-template-tag-in-routes).
I think we should say 'route component' instead of 'template'.
✅ Deploy Preview for ember-guides ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| @@ -1,3 +1,17 @@ | |||
| <div class="cta"> | |||
There was a problem hiding this comment.
I'm removing this warning because actually we need to add this to every page and we're going to do this differently 👍
| } | ||
| ``` | ||
|
|
||
| Note that currently, if `model` is not specified, Ember will attempt |
There was a problem hiding this comment.
Note for anyone following along, this was deprecated in ember@5 and is now removed so I just removed this paragraph 👍
No description provided.