These are chat archives for brunch/brunch

4th
Oct 2016
Rafael
@RowiDont
Oct 04 2016 15:44
Hey guys, I want to import something like this import { NavBar } from 'react-bootstrap', and then use it like this: <NavBar.Header />. Is there a way to do that with Brunch?
Colin Bate
@colinbate
Oct 04 2016 15:48
If you are using Brunch's React skeleton it should work out of the box. If not, you just need to have babel-brunch set up properly with the react preset (as well as the es2015 preset), and it should work for you.
You'd have to npm install react-bootstrap of course in either case.
Rafael
@RowiDont
Oct 04 2016 15:50
awesome thanks
It ended up being a mistyped name :/