kadirahq / mantra

Mantra - An Application Architecture for Meteor
https://kadirahq.github.io/mantra/
978 stars 52 forks source link

React-bootstrap import #123

Open sandervanhooft opened 8 years ago

sandervanhooft commented 8 years ago

How can I add the react-bootstrap library?

I installed it using npm install --save react-bootstrap. I can for example import and render a<Button />using Mantra (import { Button } from 'react-bootstrap', but I cannot alter the state in browser. Is it possible the functions are not loaded correctly?

I feel this has something to do with my Mantra Module setup, not with react-bootstrap. I have tested it using a container and a component. Should I include additional dependencies somewhere?

Restarting meteor nor npm install solves the issue.

Here's the gist including the container (header.js), the component (header.jsx), and the root package.json.