Addons dependent on another addons


#1

Hi,

I’m currently building an addon where our models (jsonapi resources) are placed. This addon is dependent on two more addons namely ember-jsonapi-resources and ember-simple-auth.

Now, when I install our custom addon and try to import the serializer from the ember-jsonapi-resources, it always tells me that it can’t find the module.

Do I need to to something or use another addon to make this work?


#2

It works if you specify the addon’s under dependencies like this:


#3

Thank you for your help! This worked perfectly, I thought that when an addon uses a certain addon it is automatically loaded into the ember app.