I'm trying to come up with a way to use polymer with Rails, but there isn't much out there on the subject.
My thoughts are to handle web components like Javascript or CSS in rails. There will be an 'app/assets/elements/application.html' which defines what elements you want to be included. Then the asset pipeline needs to pull out dependencies for those elements and import them first. I also imagine in production all the web components will be concatenated into one html import (like Vulcanize does).
The only problem is, I have no idea where to start on developing this. Is this something people want to see, and does anybody have any pointers on how to get started?
So far, I've asked
a question on StackOverflow that is really basic, but it received any answers.
Anyway, your thoughts are appreciated.