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

Default application.js route breaks build, when ember-cli-coffeescript used #659

Closed
youroff opened this issue Sep 9, 2015 · 5 comments
Closed
Labels

Comments

@youroff
Copy link

youroff commented Sep 9, 2015

So application doesn't build when application route written in coffee. I know I can just use JS for that particular file, but is there a prettier solution?

@marcoow
Copy link
Member

marcoow commented Sep 9, 2015

Please add info on the exact error you're seeing, ideally a demo project that shows the error.

@youroff
Copy link
Author

youroff commented Sep 9, 2015

Please refer here: kimroen/ember-cli-coffeescript#92

Demo project would be exactly like your dummy app but with Coffescript (at least application route should be written in coffee). So I found workaround to code that particular route in JS, but may be there are better options.

@marcoow
Copy link
Member

marcoow commented Sep 14, 2015

Seems like kimroen/ember-cli-coffeescript doesn't really work with Ember CLI's way of having addons merge stuff into the application.

@bkCDL
Copy link

bkCDL commented Nov 7, 2015

For those who can't convert their entire ember app from coffeescript to ES2015 right away, I found that if merely my application route is javascript instead of coffeescript (/routes/application.js instead of /routes/application.coffee), it works for the time being. Of course, this is a transitional step and not a long-term suggestion.

@hoIIer
Copy link

hoIIer commented Nov 8, 2015

For those who can't convert their entire ember app from coffeescript to ES2015 right away

Or for those who don't want to convert their app to es2015 at all!

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

No branches or pull requests

4 participants