Perhaps this is just me showing my inexperience with React, Browserify, etc. But I am trying to use a react component, in the way suggested by this article: https://react-in-meteor.readthedocs.org/en/latest/client-npm/
Which I believe is still the recommended way to do things?!
However, the package in question
"react-select" has both JS and CSS as part of the package. The JS seems to load perfectly fine, but the CSS is seemingly nowhere to be seen. So how exactly does one go about including the CSS into the build? I’m currently using the Meteor Chef react base as a testing ground at the moment, and in the
application.scss I’ve tried adding a path to the package’s CSS, eg.
@import "../../packages/npm-container/.npm/package/node_modules/react-select/dist/default.css"; but that doesn’t seem to work.
I’ve seen something called
npm-css which looks like it might help, but I’m not entirely sure, as it’s not built with Meteor in-mind…
What else am I left with as options?