ember-tools icon indicating copy to clipboard operation
ember-tools copied to clipboard

Ability to customize config/app.js and config/routes.js path?

Open sahat opened this issue 11 years ago • 2 comments

I would like to move app.js and routes.js from the config folder to the root of javascripts folder next to views, controllers, models, helpers, etc. I think that makes more sense to have it there. Also routes.js should really be router.js. But as it stands ember build looks for those files, with that exact filename, in the config folder.

It would be nice if we could customize the file and/or folder path inside the ember.json.

sahat avatar Jan 15 '14 22:01 sahat

I dont think it looks for those files after the create is done, as far as I can see you can just move them! some tests maybe failed! please give a bit more specifics on you issue!

jmorvan avatar Jan 19 '14 00:01 jmorvan

After renaming routes.js to router.js:

screenshot 2014-01-22 23 42 50

And the same error when keeping the same name routes.js but moving it outside the config folder:

screenshot 2014-01-22 23 43 28

sahat avatar Jan 23 '14 04:01 sahat