jeudi 14 février 2019

Where and how to specify initializer for an ember engine?

In my application, I have used initializers to inject services to routes, controllers and components. I am trying to use ember engine now. I have shared my application services to my engine, but I need to inject the shared application services to the engine's routes, controllers and components using an initializer.

In my application, I can generate an initializer and inject the services. How to do that in my engine?




Aucun commentaire:

Enregistrer un commentaire