JQ331
Fevereiro 6, 2022, 9:39pm
8
Olá. Estou tentando fazer um serviço funcionar no Discourse. Originalmente, fiz a pergunta neste tópico, mas depois pensei que faria mais sentido criar um novo tópico para isso:
I want to use a service in a theme component I am building. If services are only available in plugins, I can build a plugin as well. Goal is to connect two different plugin outlets - press a button in one outlet, and have that button press picked up by the other outlet.
How can I properly register a service in Discourse? I’ve followed the topic here , and the related plugin code on github, but I’m not able to get it to work.
I think the missing piece is that my theme component is not recognizin…