You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// in assets/javascripts/components/_list_box.js.jx : varmui=require('material-ui');varPaper=mui.Paper;varListBox=React.createClass({render: function(){return(<PaperzDepth={1}/>)}});
If I render in my view <%= react_component 'TopMenu', {}, {prerender: true} %>, an error occurred, saying it was not defined.
assets/javascripts/components.js :
//= require_tree ./components
Gems I used:
gem'therubyracer',platforms: :rubygem'browserify-rails','~> 0.7.4'# Server-rendering isn't in 0.x, need to grab the 1.x prereleasegem'react-rails','~> 1.0.0.pre',github: 'reactjs/react-rails'
The text was updated successfully, but these errors were encountered:
imWildCat
changed the title
It seems than I cannot pre-render with components of material ui
It seems that I cannot pre-render with components of material ui
Mar 4, 2015
If I render in my view
<%= react_component 'TopMenu', {}, {prerender: true} %>
, an error occurred, saying it was not defined.assets/javascripts/components.js :
Gems I used:
The text was updated successfully, but these errors were encountered: