composer require rgmatute/adminlte-laravel
To register the Service Provider edit config/app.php file and add to providers array:
Rgmatute\AdminLTELaravel\Providers\AdminLTELaravelServiceProvider::class,
php artisan vendor:publish --tag=rgmatute
OR
php artisan vendor:publish --tag=rgmatute --force
To test the examples included it is important to copy in your preferred routes in web.php
require __DIR__.'/adminlteExamples.php';
@extends('Template.adminlte')
@extends('Template.adminlte')
@section('main-title')
{{ 'General Title' }}
<small>Optional description</small>
@endsection
@section('main-navigation')
<li class="active">Module</li>
<li class="active">Option</li>
<li class="active">etc.....</li>
@endsection
@push('styles')
{{-- MORE STYLES --}}
@endpush()
@section('main-content')
<!-- HERE GOES YOUR CONTENT -->
@endsection()
@push('scripts')
{{-- MORE SCRIPTS --}}
@endpush()