Move Bootstrap initialization into own file

This commit is contained in:
Andreas Nedbal 2020-12-25 14:47:13 +01:00 committed by Andreas Nedbal
parent fdebfb6bae
commit aac98bd3b2
2 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,7 @@ import 'core-js/stable'
import 'regenerator-runtime/runtime'
import './jquery'
import 'popper.js'
import 'bootstrap'
import './bootstrap'
import {} from 'jquery-ujs'
import 'jquery.turbolinks/src/jquery.turbolinks'
import 'jquery.guillotine'

View File

@ -0,0 +1,5 @@
import 'popper.js'
import 'bootstrap'
$(document).ready ->
$('.dropdown-toggle').dropdown()