How to import bootsrap in just one component in react.js
问题 Actually im "migrating" a website project where i used a template. There are some conflicts when i put the bootstrap link in the index.html. I would like to apply bootstrap just into one component to avoid this conflicts, but im not sure how to do it. Im pretty new with react. The "conflicts" are just visual, like if importing bootstrap changes the rows and columns numbers 回答1: Unfortunately CSS is always global, so there's no easy way of doing this. One way however, is to recompile Bootstrap