Skip to content

Instantly share code, notes, and snippets.

@vishim
Created December 23, 2016 21:03
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vishim/9c3e1b06a8f513c923e5187490d8f917 to your computer and use it in GitHub Desktop.
Save vishim/9c3e1b06a8f513c923e5187490d8f917 to your computer and use it in GitHub Desktop.
Include bootstrap 4 in es6 react
// Include bootstrap 4
var jQuery = require('jquery');
window.$ = window.jQuery = jQuery;
import tether from 'tether';
window.Tether = tether;
var bootstrap = require('bootstrap');
bootstrap.$ = bootstrap.jQuery = jQuery;
import 'bootstrap/dist/css/bootstrap.min.css';
@yash2code
Copy link

thanks

@jkbits1
Copy link

jkbits1 commented Mar 6, 2018

useful for me, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment