Skip to content

Instantly share code, notes, and snippets.

@smitroshin
Created February 4, 2020 09:06
Show Gist options
  • Save smitroshin/d78cc169f96b191e64bef5d83a1fb6d0 to your computer and use it in GitHub Desktop.
Save smitroshin/d78cc169f96b191e64bef5d83a1fb6d0 to your computer and use it in GitHub Desktop.
Sequence of code from Laravel
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
try {
window.Popper = require('popper.js').default;
window.$ = window.jQuery = require('jquery');
require('bootstrap');
} catch (e) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment