This repository was archived by the owner on Jun 22, 2022. It is now read-only.
This repository was archived by the owner on Jun 22, 2022. It is now read-only.
CSS of datatable not loaded #20
Open
Description
I see that CSS of datatable_css.blade.php are not loaded correctly.
In layout app.blade.php is missing the section inclusion or stack.
In datatable_body.stub:
@section('css')
@include('layouts.datatables_css')
@endsection
{!! $dataTable->table(['width' => '100%', 'class' => 'table table-striped table-bordered']) !!}
@push('scripts')
@include('layouts.datatables_js')
{!! $dataTable->scripts() !!}
@endpush
I think should be:
@push('css')
@include('layouts.datatables_css')
@endpush
...
and in app.blade.php:
...
<head>
...
@stack('css')
</head>
...
However, seem still missing some CSS even if I add this fix, see screenshot below:
Metadata
Metadata
Assignees
Labels
No labels