Closed markmcdonald51 closed 10 years ago
Well, actually rails-assets doesn't wrap these bower packages in a right way, so that you can use them with Rails. Basically 'rails-assets-Polymer--paper-checkbox' gem doesn't have html components inside to import them. You can also add them to your project via bower. You can configure it to put all components into vendor/assets/components
You can now use this gem https://github.com/alchapone/polymer-core-rails to add core elements to Rails Project.
One more thing if I may,
I can get this to fetch the core files as asset, but I can't get this to compile
Gemfile: gem 'rails-assets-Polymer--paper-button' gem 'rails-assets-Polymer--paper-checkbox'
application.css *= require polymer/paper_checkbox
as the compiler seems to complain that:
couldn't find file 'polymer/paper_checkbox' (in /home/mark/Rails/polymer-rails-example/app/assets/stylesheets/application.css:13)
Sorry to bother you with this but I am a total newbie [who isnt] to Polymer... really excited about using it and this gem as well!
Thanks Alex