How to integrate Admin Lte theme in Laravel 5.4

Need Help to integrate Admin Lte theme in la ravel 5.4 , i try to integrate it but it show black pages.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Download laravel project folder by using:

 composer create-project --prefer-dist laravel/laravel laravelLTE

Create database named :laravel and make database related changes in .env file
DB_CONNECTION=mysql    
DB_HOST=127.0.0.1  
DB_PORT=3306  
DB_DATABASE=laravel  
DB_USERNAME=root  
DB_PASSWORD=null

Goto the folder path
 /var/www/html$ cd  laravelLTE

To run all of your outstanding migrations, execute the migrate Artisan command:
     /var/www/html/laravelLTE$ php artisan migrate

In case of string error make changes in following page :

/var/www/html/laravel/app/Providers/AppServiceProvider.php

use IlluminateSupportFacadesSchema; 

    public function boot()   
    { 
      Schema::defaultStringLength(191); 
    }

Inorder to install Admin Lte theme hit following commands in your terminal:
composer require "acacha/admin-lte-template-laravel:4.*"    
composer update

To register the Service Provider edit the file

config/app.php

And add following line to providers array:

  AcachaAdminLTETemplateLaravelProvidersAdminLTETemplateServiceProvider::class,

To Register Alias edit the file

config/app.php

And add following line to alias array:

'AdminLTE' => AcachaAdminLTETemplateLaravelFacadesAdminLTE::class,

Get configuration file in your application from vendor package file.
 /var/www/html/laravelLTE$ php artisan vendor:publish --tag=adminlte –force
 /var/www/html/laravelLTE$ php artisan serve

thank you
I hope this will help you to integrate adminLTE theme


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x