-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Updating
-
On the root folder of your project, first update the package with the next composer command:
composer update jeroennoten/laravel-adminlte
-
Then, update the required
AdminLTE
assets resources executing the next command:php artisan adminlte:update
-
If you have previously published and modified the default
master.blade.php
file, thepage.blade.php
file or any other view provided by this package, then you may need to update them too. Please, note there could be huge updates on those views, so it is highly recommended to backup your view files previously. To update the views, you may follow next steps:Note: You may use a comparison tool (like meld) in order to identify the differences between the published files and the new ones. You will need to compare the published files at
resources/views/vendor/adminlte
with the package provided ones, atvendor/jeroennoten/laravel-adminlte/resources/views/
.-
Make a copy (or backup) of the views you have modified, those inside the folder
resources/views/vendor/adminlte
. -
Publish the new set of views, using the
--force
option to overwrite the currently existing files.php artisan adminlte:install --only=main_views --force
-
Compare the new installed views with your backup files and redo the modifications you previously did to those views.
-
-
From time to time, new configuration options may be added or default values may be changed, so it is also a recommendation to verify and update your package configuration file if needed. To update the configuration, you may follow next steps:
-
Make a copy (or backup) of your current package configuration file, the
config/adminlte.php
file. -
Now, publish the new package configuration file and accept the overwrite warning (or use
--force
option to avoid the warning).php artisan adminlte:install --only=config
-
Compare with your backup configuration file and redo the modifications you previously made.
-
Home | Installation | Updating | Usage | Basic Config | Layout Config | Menu Config | Plugins Config | Blade X-Components - Laravel-AdminTE