Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sahat opened this issue Jan 15, 2014 · 2 comments
Open

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

sahat opened this issue Jan 15, 2014 · 2 comments

Comments

@sahat
Copy link

sahat commented Jan 15, 2014

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.

@jmorvan
Copy link

jmorvan commented Jan 19, 2014

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!

@sahat
Copy link
Author

sahat commented Jan 23, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants