My ember projects are structured using PODs, it means routes are located like that:
I really like that all relevant files are under the same folder.
unfortunately the default ember resolver expect the ‘loading’ and ‘error’ state templates to be located at:
I didn’t like it since I wanted to keep a clean structure.
After a few hours of digging in the Ember source code I wrote my first Ember addon.
The addon will extend the default ember resolver and now I can place the loading and error states like that:
You can find more info at: