Hi, Thanks a lot for the cool gem, but can we combine polymer and backbone in rails ? Have you done similar experiment ?
Thank you On Wednesday, March 5, 2014 9:05:56 AM UTC+5:30, Andrew Huth wrote: > > Hi, > Tonight I finished the first release of a ruby gem that integrates Polymer > with the Rails asset pipeline. Essentially, it allows you to specify what > web components you want to import, and then automatically generates html > import tags for those and any of their dependencies. Also, it inlines any > external css or javascript references. > > Finally, in production, it concatenates all of the imports into one big > import, and removes any html/js/css comments and blank lines. > > So pretty much what Vulcanize does, except for Rails. > > It doesn't install Polymer or any components for you, so you need to > 1. Download and include platform.js > 2. Install any web components you want to use (usually into > /vendor/assets/elements) > 3. Use assets/elements/application.html just like you would to include > javascript files, and you're in business. > > It's called Emcee, and the github repo is here: > https://github.com/ahuth/emcee. > > If anyone takes a look it or uses it, and has any comments or critiques, > let me know. I welcome contributions. Feel free to ask questions or give me > feedback here, too. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/a076c528-f9d8-47c5-92a8-31bb8861873f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
