jeudi 16 novembre 2017

Ember.js : 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.




Aucun commentaire:

Enregistrer un commentaire