summaryrefslogtreecommitdiff
path: root/resources/js
diff options
context:
space:
mode:
authorhorus2020-02-20 15:35:53 +0100
committerhorus2020-02-20 15:35:53 +0100
commit0edb438872796902d3e4d3c2eea791f6af1956aa (patch)
tree849dca17ee23b25ec81808d1c981afc64e8ca33b /resources/js
parent9ea335ab9c8f9e17e8ce8b6a7e76962bec7ed418 (diff)
downloadzeitumstellung-0edb438872796902d3e4d3c2eea791f6af1956aa.tar.gz
Supports iCal-Feed and styled website with bootstrap.css.
Diffstat (limited to 'resources/js')
-rw-r--r--resources/js/bootstrap.js15
1 files changed, 14 insertions, 1 deletions
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,6 +1,19 @@
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
* CSRF token as a header based on the value of the "XSRF" token cookie.
@@ -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
// });