-
Notifications
You must be signed in to change notification settings - Fork 49
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
All coffee files when 'ember new' #65
Comments
Hi there, Lucas! The way the The problem with this though, and the reason we haven't done it, is that the Something I did think of though, that could be done: We could provide a command that you can run after installing The files in question would be You would need to add a blueprint in the If you'd like to take a shot at it, I'd love to accept a pull request with this. If not, I'll see if there's some time in the coming weeks. |
Hey Kim! Thank you! |
Is there an easy way to simply to convert js to coffee? Maybe that's the solution here. |
@sdhull Yeah, you do have libraries like This: import Ember from 'ember'; needs to become this: `import Ember from 'ember'` There will probably be even more cases of newer ES2015-syntax showing up in the default templates, and that will mean that it's even less likely that you can convert that way. I still think that a default blueprint and/or after-install commands is the way to go. This way, the experience of starting a new ember-cli project with coffeescript will be like this:
I didn't get the time to implement this this weekend, but I will try again when I find some. |
Now that CoffeeScript supports things like |
When ember-cli creates a new project, all the main files already comes in common javascript. There's a way to create an extension for
ember new
to create the full project in coffee? Maybe something likeember new myApp --coffeescript
The text was updated successfully, but these errors were encountered: