Possible to use custom file structure & file naming?

I want to use the following file structure and file naming:

/app
  /components
    /some-component
      component.some-component.template.hbs
      component.some-component.class.js
  /routes
    /some-route
      route.some-route.handler.js
      route.some-route.template.hbs
      route.some-route.controller.js
  /models
   model.some-model.js

It’s kind of similar to the pods structure but it’s not exactly it since the file naming is totally different.

Any hints on how I can achieve this? I tried overriding Resolver methods as it’s been suggested here but this is only for when you use pods and you simply want to group all of you route-folders in one parent-folder.

It is absolutely a design constraint of the system that you can do this by overriding the correct methods in the resolver, but I would strongly suggest against it. You will have significant pain, and loose out on one of the largest selling point of Ember: community shared solutions…

2 Likes