From 0edb438872796902d3e4d3c2eea791f6af1956aa Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 20 Feb 2020 15:35:53 +0100 Subject: Supports iCal-Feed and styled website with bootstrap.css. --- resources/js/bootstrap.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'resources/js/bootstrap.js') diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index 6922577..8eaba1b 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -1,5 +1,18 @@ window._ = require('lodash'); +/** + * 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) {} + /** * We'll load the axios HTTP library which allows us to easily issue requests * to our Laravel back-end. This library automatically handles sending the @@ -24,5 +37,5 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; // broadcaster: 'pusher', // key: process.env.MIX_PUSHER_APP_KEY, // cluster: process.env.MIX_PUSHER_APP_CLUSTER, -// forceTLS: true +// encrypted: true // }); -- cgit v1.2.3