1 评论 (1 评论)0 反应 (0 反应)0 负责人 (0 负责人)JavaScript22,437 star (22,437 star)4,216 fork (4,216 fork)batch import
Help WantedRouting
描述
- Using
{{outlet}} in anything other than a route template (e.g. components)
- Using
{{outlet}} inside the application template of a non-routable engine ({{mount}})
- 议题类型
- feature
- 研究方向
- Look into the Ember.js source code, specifically the template compiler and rendering engine. Identify where `{{outlet}}` is currently handled. Investigate if there are existing validation checks for similar constructs (e.g., `{{component}}`). The goal is to add a warning or error when `{{outlet}}` is used outside a route template or in a non routable engine's application template. Consider adding tests to ensure the new validation works. Relevant files might be in `packages/@ember/ internals/glimmer/lib/` or similar. The issue has no linked PRs or comments, so no prior work to reference.