In my team we are building a set of React components as NPM packages outside Meteor. They don’t use inline styling.
Now, everytime we want to use the components we have to do the following imports:
import MyComponent from 'my-component-package'; import 'my-component-package/MyComponent.css
Do we have to import the bundled CSS everywhere?
I know that if the component is written in Meteor, you can just import the css from the component file itself. But if the component it’s coming from an outside library… I’m not sure how to do it
Is there any other way to do it?
I’d appreciate some help here