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

Issues rendering addon-scoped components with Wall St Syntax #21

Open
elwayman02 opened this issue May 22, 2020 · 0 comments
Open

Issues rendering addon-scoped components with Wall St Syntax #21

elwayman02 opened this issue May 22, 2020 · 0 comments

Comments

@elwayman02
Copy link
Contributor

field-guide doesn't play nicely with addon namespacing via https://github.com/rwjblue/ember-holy-futuristic-template-namespacing-batman

So if you're working in an addon (the primary use-case for field-guide), and you're not re-exporting your components in the app/ folder (which is a pretty good practice to avoid, since you could clobber components in the consuming app), you can only render components in field-guide using the component helper. That is, this will work:

{{component 'my-addon@my-component'}}

but this will not:

<MyAddon$MyComponent/>
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