I have a question about reusing Discourse “core” Ember components in plugins. More particularly, I ran into trouble today trying to put a “signup” d-button into a plugin template.
Here is where I tried to do:
And this is the console error it created:
I understand (very vaguely?) that showCreateAccount is a controller function passed along to different components that need it:
Moreover, in order to get this modal to pop up in my component, do I need to fundamentally change the structure of my files? I don’t think my file structure is necessarily correct either.