integrating bootstrap with gatsby code example
Example 1: install bootstrap in gatsbyjs
import "bootstrap/dist/css/bootstrap.min.css";
import "jquery/dist/jquery.min.js";
import "popper.js/dist/popper.min";
import "bootstrap/dist/js/bootstrap.min.js";
Example 2: add bootstrap to gatsby
import React from 'react';
import { Button } from 'react-bootstrap';
const MyComponent = () => (
<div>
<p>This contains a button which is exported by react-bootstrap</p>
<Button variant="primary">Primary</Button>
</div>
);