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/1fa53ea8-f992-4eef-8366-b3475145cb63%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to