import bootstrap.min.js on gatsby code example
Example: install bootstrap in gatsbyjs
// npm i bootstrap jquery popper.js
// On gatsby-browser.js
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";