Pods Structure in Ember Addon

378 views Asked by At

With respect to this question, I created an ember-addon project and it is working fine as expected.

But If I try to introduce pods structure in the ember-addon project it is not working.

It throws error that the route is not found.
What should I do?


Thanks In Advance!

2

There are 2 answers

0
freakydavid On BEST ANSWER

Thanks everyone for the help....My issue was that if I try to use pods structure in ember addon,It won't compile the template files.This is an existing issue in ember-cli.

With reference to issue in the github...they have provided the workarounds possible for lower version of ember

0
Mahmoud On

As mentioned in the official docs, addons should not use the pods structure:

Addons should only use the classic structure for compatibility with either classic or pods-based consuming application.