Move Bootstrap initialization into own file
This commit is contained in:
parent
fdebfb6bae
commit
aac98bd3b2
|
@ -2,8 +2,7 @@ import 'core-js/stable'
|
||||||
import 'regenerator-runtime/runtime'
|
import 'regenerator-runtime/runtime'
|
||||||
|
|
||||||
import './jquery'
|
import './jquery'
|
||||||
import 'popper.js'
|
import './bootstrap'
|
||||||
import 'bootstrap'
|
|
||||||
import {} from 'jquery-ujs'
|
import {} from 'jquery-ujs'
|
||||||
import 'jquery.turbolinks/src/jquery.turbolinks'
|
import 'jquery.turbolinks/src/jquery.turbolinks'
|
||||||
import 'jquery.guillotine'
|
import 'jquery.guillotine'
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
import 'popper.js'
|
||||||
|
import 'bootstrap'
|
||||||
|
|
||||||
|
$(document).ready ->
|
||||||
|
$('.dropdown-toggle').dropdown()
|
Loading…
Reference in New Issue