These are chat archives for reactioncommerce/reaction

28th
May 2017
xutesan
@yeahisgood
May 28 2017 15:43 UTC
Hello.
I'm having trouble setting up.
Jeremy Shimko
@jshimko
May 28 2017 16:44 UTC
@yeahisgood if you’re having an issue, I recommend being more specific about what it is. If someone here knows how to help with it, they’ll usually speak up. But if you just say “I have a problem”, you are not likely to get a response from anyone.
hrath2015
@hrath2015
May 28 2017 18:19 UTC
let element;
if (getComponent(template)) {
  element = React.createElement(getComponent(template));
}

return (
<MuiThemeProvider>
<div className={pageClassName} id="reactionAppContainer">
 { Template[layoutHeader] &&
   <Blaze template={layoutHeader} className="reaction-navigation-header" />
 }

 <Blaze template="cartDrawer" className="reaction-cart-drawer" />

 { Template[template] &&
   <main>
     <div className="rui materialtheme">
       <div>{homeBanner}</div>
       <div>{homeFacts}</div>
       <div>{productsLayout}</div>
     </div>

     <Blaze template={template} />
   </main>
 }
 {
   <main>
   <MuiThemeProvider>
   {element}
   </MuiThemeProvider>
   </main>
 }

</div>
</MuiThemeProvider>
);
@curranabell please see the code above to fix the indexpage. implement it in core.js.
see the pic I was able to render the index page. Hope this is what u wanted.
image.png