Ember Addon (Application Reuse)


#1

Hello! I have an ember-cli application that I would like to reuse in a few different containers: traditional web-deploy, desktop app (via electron), etc. I am wondering what would be the most sane way to share the core application code for consumption by these containers. The first thing that comes to mind is packaging up my application as an ember addon, but I don’t know if sticking an entire application in an addon fits with the intended use of the addon system. Does anyone have any similar experience, or have any general thoughts on the matter? Thank you so much for your time.


#2

Maybe engines will help with your use case?

https://github.com/tomdale/rfcs/blob/master/active/0000-engines.md

Preview of support: https://github.com/dgeb/ember-engines


#3

Thanks @alexspeller — I was just looking at that earlier today. Appreciate the response!