Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Possible to use custom file structure & file naming?

$
0
0

@nima wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles