0.01
No commit activity in last 3 years
No release in over 3 years
material-ui + Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 0
~> 0
~> 0
~> 0

Runtime

>= 4.0.0
>= 1.4.0, ~> 1.4
~> 3.0
 Project Readme

materialui-rails

install

  1. add gem
  gem 'browserify-rails'
  gem 'materialui-rails'
  1. init
  rake muirails:install
  npm install
  1. add in config/application.rb
  config.browserify_rails.commandline_options = ["-t reactify"]
  1. example
  var React = require('react'),
  mui = require('material-ui'),
  RaisedButton = mui.RaisedButton;

  $(function(){
    React.render(
      <RaisedButton label="hello" />,
      document.body
    );
  });