Using 'material-ui' with react-rails gem?
问题 I would like to use the material-ui component library in my Rails 4 app. I am currently using the react-rails gem to add .jsx compilation to the asset pipeline. I have added material-ui via rails-assets in the gemfile like so: source 'https://rails-assets.org' do gem 'rails-assets-material-ui' end And I have required the library in my application.js file like so: //= require material-ui However I keep getting the error "couldn't find file 'material-ui". How can I use the material-ui component