paypal / react-engine

a composite render engine for universal (isomorphic) express apps to render both plain react views and react-router views
Apache License 2.0
1.45k stars 130 forks source link

How do I add an import of CSS globally across the pages? #141

Closed abhagupta closed 8 years ago

abhagupta commented 8 years ago

I am using this awesome module for my react app. I am trying to use bootstrap css globally across all the pages, but not sure how to do it. Can you share some example?

SOSANA commented 8 years ago

Add the CDN or npm install and add bootstrap in your HTML or JS root index, it will load all styles from there and place elements in your components ;) check out my repo of example I did using react-engine https://github.com/SOSANA/React.JS-Tutorials-and-Things/tree/master/github-notetaker

abhagupta commented 8 years ago

Thank you! This is what exactly I was looking for.