If I add a checkbox to the html:
<input type="checkbox" />
And then in my script (at the end of the page):
$('.input[type="checkbox"]').iCheck()
It hides the input element (which is correct), but does not show the iCheck.
You should add the JavaScript and CSS yourself, the iCheck plugin is only loaded at the login page.
Add it like this:
@section('css')
<link rel="stylesheet" href="{{ asset('vendor/adminlte/plugins/iCheck/square/blue.css') }}">
@stop
@section('js')
<script src="{{ asset('vendor/adminlte/plugins/iCheck/icheck.min.js') }}"></script>
<script>
$('.input[type="checkbox"]').iCheck()
</script>
@stop
checkbox style adminlte not saving for php
Most helpful comment
You should add the JavaScript and CSS yourself, the iCheck plugin is only loaded at the login page.
Add it like this: