Open lenin-anzen opened 7 years ago
Don't mean to necropost, but you can fix this by using bootstrap 3 instead of bootstrap 4. This is the bootstrap version that react-bootstrap is expecting. With yarn, the command would be yarn add bootstrap@3.3.7 -E
. If you're using bootswatch, be sure to also run yarn add bootswatch@3.3.7 -E
. Hope this helped!
A pull request would be accepted!
Just submitted the pull request. Only modified two lines in the README.md
file where the versioning is relevant. I thought I would have to update package.json
as well, but it turns out that the semantic versions for bootstrap
and bootswatch
are already correct (both of them are @^3.3.7
).
I had a problem with the import of the Bootswatch CSS file.
I resolved it with the next path:
import "bootswatch/dist/journal/bootstrap.css";
But it shows the NavItem component(pills) as follows:
The layout of the pills in the Bootswatch site is:
The layout of the Nav, NavItem components are: