moved content to app.js
This commit is contained in:
parent
5cc320d656
commit
39c6b5a22b
|
@ -1,17 +1,2 @@
|
||||||
// assets/js/index.js
|
// assets/js/index.js
|
||||||
|
|
||||||
import '../styles/app.scss'
|
|
||||||
import 'fork-awesome/scss/fork-awesome.scss'
|
|
||||||
|
|
||||||
require('bootstrap')
|
|
||||||
import 'bootswatch/dist/slate/bootstrap.min.css'
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
console.log('ready')
|
|
||||||
$('#toggleSidebar').on('click', function () {
|
|
||||||
let toggleIcon = $('#toggleIcon')
|
|
||||||
toggleIcon.toggleClass('fa fa-lg fa-fw fa-caret-square-o-left')
|
|
||||||
toggleIcon.toggleClass('fa fa-lg fa-fw fa-caret-square-o-right')
|
|
||||||
$('#sidebar').toggleClass('active')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
Loading…
Reference in New Issue