3 ms·
> You should begin moving your app to Ember CLI as soon as possible. While I'm using ember-cli for thick clients I'm using the ember-rails gem for sites which
by ollysb 12y ago
> You should begin moving your app to Ember CLI as soon as possible.
While I'm using ember-cli for thick clients I'm using the ember-rails gem for sites which use a mix (mainly older projects). Has anyone figured out a good way to embed an ember-cli app inside rails?
- wycats 12y agoYes, we do exactly this at Tilde and it works well. This sounds like a good blog post and possibly some released code that people can use. Because the division of labor with Ember CLI is relatively clear, I expect build tool ecosystems to build integrations with Ember CLI, that shell out to the Ember CLI tools for specific tasks as part of a larger process. We'd of course love to work with anybody trying to do this :)
- ollysb 12y agoYes a blog post on that would be great! (Personally I'd love to see rails move to broccoli instead of the asset pipeline but I guess that won't be for a while if ever).
- onionbagle 12y ago+1 I would love to see better rails integration with Ember CLI. It seems pointless to use ember-rails with the direction of ember relying on ES6 modules.
- jurre 12y agoI'd love a blog post about this, I've struggled with it and given up in the past, but I'd love to migrate our ember-rails app over to cli!
- chrism_ 12y agoanother +1 - a blog post on this would be great, we are using Ember CLI with Rails too.
- iamstef 12y agoAuthor of ember-cli here (and previously the maintainer of ember-rails), this is essentially how my team uses ember-cli at work. Purely as a development harness and deployed to work nicely alongside a rails app. One of my co-workers has a great related talk: https://speakerdeck.com/lukemelia/lightning-fast-deployment-of-your-rails-backed-javascript-app https://speakerdeck.com/lukemelia/lightning-fast-deployment-... And another related blog post: http://blog.abuiles.com/blog/2014/07/08/lightning-fast-deployments-with-rails/ http://blog.abuiles.com/blog/2014/07/08/lightning-fast-deplo... I suspect we will want to migrate the ember-rails story to be officially more aligned with the above approaches.