-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Re-exporting co-location components from nested folder #330
Comments
Thank you for opening this! |
Is it possible that you were hitting issues from #333? I don't recall if you mentioned you were using TypeScript or no... |
@mydea - Any help identifying whats going on would be useful. |
OK, I went back to try it again and it works just fine now for me as well - not sure what exactly was wrong there. Maybe I didn't update something properly, or I just had a typo... Sorry for the confusion! |
Co-location in nested folders is generally working fine for me, except for one case:
I just tried moving an (internal) addon to use co-location, and it does not work if I have a folder structure like this (omitting all .js files for the components, for simplicity)
Where the
app/components/my-component.js
re-export looks like this:It will not find this component in the app.
It works if I move that file to
app/components/my-component/index.js
instead.(Superseding my comment in emberjs/ember.js#18255)
This is with [email protected] & [email protected].
The text was updated successfully, but these errors were encountered: