Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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>
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #bootstrap #gatsby
ADD COMMENT
Topic
Name
6+1 =