Appearance
AdminLTE Templates
Complete Generator Installation Process
Make sure you have completed a full installation process which is described here.
Remove Existing Templates
Remove any previous included template stuff. like, "infyomlabs/core-templates"
from your composer.json
Also remove services provider, \InfyOm\CoreTemplates\CoreTemplatesServiceProvider::class,
from your config/app.php
Add Package
Check the following table for Laravel version compatibility,
Laravel Version | infyomlabs/laravel-generator | infyomlabs/adminlte-templates |
---|---|---|
10.0 | ^6.0 | ^6.0 |
9.0 | ^5.0 | ^5.0 |
8.0 | ^3.0 | ^3.0 |
7.0 | ^2.0 | ^3.0 |
6.0 | ^1.0 | ^3.0 |
To use AdminLTE templates, run the following command,
sh
composer require infyomlabs/adminlte-templates
Use composer require infyomlabs/adminlte-templates:"^1.0"
for AdminLTE v2 version.
Update Configuration
Update config/laravel_generator.php
to use AdminLTE templates.
Update
sh
'templates' => 'adminlte-templates'
Publish Layout
If you are using published layout from generator then you need to publish layout files again by,
sh
php artisan ui adminlte --auth
sh
npm install && npm run dev
Allow to overwrite each and every file if you have any previous templates installed.
And you are all set to use AdminLTE templates.