From 13723972c75731826a6d91a940519742d76beb4d Mon Sep 17 00:00:00 2001 From: tracer Date: Sat, 12 Jun 2021 15:59:56 +0200 Subject: [PATCH] fixed bootstrap --- assets/js/app.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 363fc62..cde663c 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -1,12 +1,13 @@ // assets/js/app.js +const $ = require('jquery'); +require('bootstrap'); import '../styles/app.scss'; -// import $ from 'jquery'; -// global.$ = $; - -import 'bootstrap'; +$(document).ready(function() { + $('.navbarDropdown').dropdown(); +}); require('@fortawesome/fontawesome-free/css/all.min.css'); require('@fortawesome/fontawesome-free/js/all.js');