I want to use Meteor with React and bootstrap reaction. I found a lot of “tags” on how to set, but I think they are out of date.
Package.describe({
name: 'client-deps'
});
Npm.depends({
'react-bootstrap': '0.28.1',
'react' : '0.14.3'
});
Package.onUse(function(api) {
api.use(['cosmos:browserify@0.3.0']);
api.addFiles(['app.browserify.js']);
api.export(['ReactBootstrap', 'React']);
});
and
React = require('react/addons');
ReactBootstrap = require('react-bootstrap');
After that I installed meteor add reactrouter:react-router... But nothing is displayed (it works without the contents of the client files) / there is no error message.
source
share