Horje
add bootstrap to gatsby Code Example
add bootstrap to gatsby
npm install --save react-bootstrap
npm install --save bootstrap
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";
add bootstrap to gatsby
import React from 'react';
import '../path_to/bootstrap.min.css';

const MyComponent = () => (
    <div>
        <p>This contains a button which uses the bootstrap.css</p>
        <button class="btn btn-primary">Click me</button>
    </div>
);
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>
);




Shell

Related
how to install xfce Code Example how to install xfce Code Example
how to make django model field case insensitive Code Example how to make django model field case insensitive Code Example
nuxt install Code Example nuxt install Code Example
install r packages in anaconda Code Example install r packages in anaconda Code Example
remove unused images docker manually version 1.12.6 Code Example remove unused images docker manually version 1.12.6 Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11