Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to prevent pods lookup of components #428

Open
mydea opened this issue Oct 3, 2019 · 0 comments
Open

Allow to prevent pods lookup of components #428

mydea opened this issue Oct 3, 2019 · 0 comments

Comments

@mydea
Copy link

mydea commented Oct 3, 2019

Follow up on: emberjs/ember.js#18452

Basically, as of now, if you are using pods layout and have a route like this:

app/my-route/template.hbs

It will always take this template when invoking a <MyRoute /> component, even if there is a more "specific" component defined somewhere (e.g. app/components/my-route/template.hbs).

As suggested by @rwjblue , it would be great if you could somehow deactivate this behavior. Either just for the new co-located components, or also for the above pods syntax. As it basically means that you cannot have a component with the same name as any route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant